In the Command Editor in the "Script Function" mode, when switching between the "Script Code" and "Resources" tabs, the scroll & caret position in the respective tabs is always lost: the text view scroll position resets to top, and the caret position is reset to bottom of the text (last line).
This makes the navigation between "Script Code" and "Resources" cumbersome when there's a large amount of code because you always have to manually scroll back to where you were.
Additionally, the undo buffer gets cleared (so you can't even use the undo+redo trick to reposition yourself back).