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

From Free Pascal wiki
Jump to navigationJump to search
m (clarify descriptions)
(→‎Overview Gutter: Add screenshot for dialog)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The Lazarus IDE has an optional file overview feature called an "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 page (the fourth checkbox in the "Margin and gutter" groupbox).
+
{{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]]
Line 5: Line 28:
 
When editing Pascal files the overview gutter shows a compressed summary of line and unit information:
 
When editing Pascal files the overview gutter shows a compressed summary of line and unit information:
  
* modified lines: green/yellow
+
* modified lines: a yellow square shows recent unsaved modifications; green squares show saved modified lines
* left-gutter marks: breakpoints (red), bookmarks (blue), compile errors (orange)
+
* 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
 
* 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
 
* 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.
+
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.
 
 
[[Category:Lazarus]]
 

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.