Difference between revisions of "IDE Window: Editor Options Display Gutter"

From Lazarus wiki
Jump to navigationJump to search
(Created page with "Lazarus IDE has the feature called "Overview gutter". It is the thin vertical bar near the vertical scrollbar of the source editor. It can be enabled/disabled in the IDE Optio...")
 
(→‎Overview Gutter: Add screenshot for dialog)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Lazarus IDE has the feature called "Overview gutter". It is the thin vertical bar near the vertical scrollbar of the source editor. It can be enabled/disabled in the IDE Options dialog: "Editor / Display / Show overview gutter" checkbox.
+
{{IDE Window: Editor Options Display Gutter}}
 +
 
 +
== Navigation ==
 +
 
 +
* [[Main menu|Main Menu]] - Overview of all the main menu menu items for the IDE.
 +
 
 +
* [[IDE Window: IDE Options Dialog|IDE Options]] - Overview of all the options for the IDE.
 +
 
 +
* [[IDE Window: Editor Options|Editor Options]] - Overview of all the options for the IDE source code editor.
 +
 
 +
== Editor Display Options ==
 +
 
 +
You can open the '''Completion and Hints'''  dialog in your IDE via:
 +
 
 +
* The Main menu: '''Tools''' > '''Options''' > '''Editor - Display'''
 +
 
 +
* From the source editor window pop-up (right-click) menu: '''Options''' > '''Editor - Display'''
 +
 
 +
 
 +
== Overview Gutter ==
 +
 
 +
[[File:Lazarus-IDE-Editor-Options-Display.png]]
 +
 
 +
The Lazarus IDE has an optional file overview feature called an "Show overview gutter". This gutter is the thin vertical bar adjacent to the source editor's vertical scrollbar. You can show or hide the overview gutter via the "Show overview gutter" checkbox found on the IDE Options dialog's Editor / Display dialog (the fourth checkbox in the "Margin and gutter" groupbox).
  
 
[[File:ide-overview-gutter.png]]
 
[[File:ide-overview-gutter.png]]
  
Bar shows:
+
When editing Pascal files the overview gutter shows a compressed summary of line and unit information:
 +
 
 +
* modified lines: a yellow square shows recent unsaved modifications; green squares show saved modified lines
 +
* left-gutter marks are echoed in compressed form: breakpoints (red rectangles), bookmarks (blue rectangles), compilation errors (orange rectangles)
 +
* interface/implementation/finalization sections are shown in various shades of grey
 +
* the location of the current editor page relative to the rest of the edited file is shown in another shade of grey
  
* modified lines: green/yellow
+
If you click on a rectangular coloured mark, you jump to the relevant location in the text. Clicking anywhere on the overview gutter jumps you to the position in the file that gutter point represents, i. e. the top of the gutter represents the start of the file and the bottom of the gutter represents the end of the file.
* gutter marks: breakpoints (red), bookmarks (blue), compile errors (orange)
 
* interface/implementation/finalization sections: shades of grey
 
* current visible page: shade of grey
 

Latest revision as of 11:16, 4 November 2021

English (en)

Navigation

  • Main Menu - Overview of all the main menu menu items for the IDE.
  • Editor Options - Overview of all the options for the IDE source code editor.

Editor Display Options

You can open the Completion and Hints dialog in your IDE via:

  • The Main menu: Tools > Options > Editor - Display
  • From the source editor window pop-up (right-click) menu: Options > Editor - Display


Overview Gutter

Lazarus-IDE-Editor-Options-Display.png

The Lazarus IDE has an optional file overview feature called an "Show overview gutter". This gutter is the thin vertical bar adjacent to the source editor's vertical scrollbar. You can show or hide the overview gutter via the "Show overview gutter" checkbox found on the IDE Options dialog's Editor / Display dialog (the fourth checkbox in the "Margin and gutter" groupbox).

ide-overview-gutter.png

When editing Pascal files the overview gutter shows a compressed summary of line and unit information:

  • modified lines: a yellow square shows recent unsaved modifications; green squares show saved modified lines
  • left-gutter marks are echoed in compressed form: breakpoints (red rectangles), bookmarks (blue rectangles), compilation errors (orange rectangles)
  • interface/implementation/finalization sections are shown in various shades of grey
  • the location of the current editor page relative to the rest of the edited file is shown in another shade of grey

If you click on a rectangular coloured mark, you jump to the relevant location in the text. Clicking anywhere on the overview gutter jumps you to the position in the file that gutter point represents, i. e. the top of the gutter represents the start of the file and the bottom of the gutter represents the end of the file.