General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Back to the previous state

  • achu

    Back to the previous state

    Participants 0
    Replies 1
    Last Activity 10 years, 7 months ago

    I 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

    Reply

    Derek Read

    Reply to: Back to the previous state

    1.
    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.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support