Lazarus
Using the Lazarus IDE => Editor => Topic started by: hakelm on November 03, 2021, 12:46:30 pm
-
My Lazarus editor shows some minuscule marks on the side of the editor window I haven't noticed before, see the attachments.
What are these for.
-
WHAT VERSION of the IDE, and what version are you used to? On what platforms?
Which marks are you complaining about: the indication of changed lines etc. or the inexplicable icon fragments?
MarkMLl
-
at a guess he means the blue rectangles and green squares on the scrollbar
-
at a guess he means the blue rectangles and green squares on the scrollbar
/Next/ to the scrollbar.
But in decades of offering occasional technical support I've learnt (oh and /how/ I've learnt) to never make assumptions :-)
MarkMLl
-
... blue rectangles and green squares on the scrollbar
I saw them often. To make them appear: open an old project, modify some lines, run it then you can see the those rectangles and squares. The green squares mean that lines have been modified but I don't know what the rectangles mean.
-
It's the "overview gutter" => can be enabled/disabled in TOols> Options.
It shows
- modified lines: green/yellow
- gutter marks: breakpoints (red), bookmarks(blue), compile error (orange)
- interface, implementation,finalization sections: shades of grey
- current visible page: shade of grey
-
And what is particularly useful: If you click on the marking, you are immediately at the relevant point in the text.
-
The editor has been designed with two gutters.
The left gutter summarises or depicts information about each individual line of text.
The right gutter gives a highly compressed overview of all lines in the file.
For Pascal files the background greys alternate to show the relative sizes and locations of major unit sections (interface, implementation, initialization, finalization).
In addition the "coloured rectangles" indicate the relative positions of specific left-gutter indications such as a breakpoint or bookmark or compilation error. The rectangles are coloured to correspond to the left-gutter markings (red for breakpoint, for example).
-
Is the information in the wiki too ?! With the keyword 'overview gutter' i found nothing
-
Is the information in the wiki too ?! With the keyword 'overview gutter' i found nothing
Don't think so, I went looking for relevant screenshots etc. earlier.
I know Martin's discussed it hearabouts before now, mainly in the context of the sliding grey bit not being draggable (and I didn't realise that the other marks were actually clickable).
Basically, the righthand (overview) gutter is a greeked view of what's to the left of it. Generally speaking it works well.
MarkMLl
-
I just created the wiki page
https://wiki.freepascal.org/IDE_Overview_Gutter
-
Thank you.