If a template has a long declarations document (long enough for it not being able to be displayed all at once), the "undo" functionality causes the text editor to jump to the top of the document. Both the keyboard shortcut (ctrl+z) as well as selecting it through the menu (Edit -> undo) causes this, making it difficult/time-consuming to verify that the correct action(s) were undone.