General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Back to the previous state
-
achu February 10, 2012 at 2:23 pm
Back to the previous state
February 10, 2012 at 2:23 pmParticipants 0Replies 1Last Activity 10 years, 12 months agoI attempt to achive the following goals:
1. go back to the previous document without hitting windows->previous document.
2. go back to the previous cursor location within the document.Is there APIs for those operation to go back to the previous state? or shortcut keys?
Version XMetal 5.5
Derek Read February 10, 2012 at 7:18 pm
Reply to: Back to the previous state
February 10, 2012 at 7:18 pm1.
Shortcuts: Alt + Left Arrow (Alt + Right Arrow goes to next document).
API: The Documents object has properties and methods that let you figure out which document you want to activate, create the correct Document object and then you can call Document.Activate() on it.2.
There is no shortcut key or action for this.
Undo (Ctrl+Z) will take you back to the last location where a change was made BUT will also undo the change you made there, so in some cases pressing Ctrl+Z then Ctrl+Y (Undo then Redo) might give you what you want, but it really isn't what you are asking for because merely navigating around in a document does not put anything on the Undo stack. -
AuthorPosts
- You must be logged in to reply to this topic.