Difference between revisions of "IDE Window: Editor Options MultiWindow"

From Lazarus wiki
Jump to navigationJump to search
Line 13: Line 13:
  
 
= Find jump target editor =
 
= Find jump target editor =
 +
 +
If you have more than one editor for a file open and you want to jump to a new location in the file, then there are several possibilities how to choose which editor to use.
 +
 +
* This does '''not''' affect normal editor navigation, such as page up/down, simple find/replace, next occurrence of word, ...
 +
* It does affect how:
 +
**clicking on a find-in-files result
 +
**clicking a compiler message
 +
**jumping to a bookmark or history point works.
 +
**jumping to a declaration (in another file, if the other file has more than one editor)
 +
**...
 +
* In some cases it can also affect codetool jumps (jumps to declaration or between interface and implementation) within the same file.
 +
:(e.g. if you jump to the declaration in the interface, and the declaration is already shown in another editor with the same file, you may want to switch to the other editor)
 +
 +
 +
By default Lazarus will use the current editor. Or if you jump to a different file, it will use the most recent used editor for that file.

Revision as of 03:02, 22 April 2010

  • You can get this dialog via:
Menu / Environment / Editor options / Mouse
Source editor / popup menu / Editor properties ...


Tabs

Hide tab in single page window

If a window contains only one editor, the tab will be hidden. The Name and modified status ("*") of the editor is shown in the window's title.

Find jump target editor

If you have more than one editor for a file open and you want to jump to a new location in the file, then there are several possibilities how to choose which editor to use.

  • This does not affect normal editor navigation, such as page up/down, simple find/replace, next occurrence of word, ...
  • It does affect how:
    • clicking on a find-in-files result
    • clicking a compiler message
    • jumping to a bookmark or history point works.
    • jumping to a declaration (in another file, if the other file has more than one editor)
    • ...
  • In some cases it can also affect codetool jumps (jumps to declaration or between interface and implementation) within the same file.
(e.g. if you jump to the declaration in the interface, and the declaration is already shown in another editor with the same file, you may want to switch to the other editor)


By default Lazarus will use the current editor. Or if you jump to a different file, it will use the most recent used editor for that file.