Recent

Author Topic: mysterious marks on the sides of the editor  (Read 5419 times)

hakelm

  • Full Member
  • ***
  • Posts: 153
mysterious marks on the sides of the editor
« 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.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: mysterious marks on the sides of the editor
« Reply #1 on: November 03, 2021, 01:34:01 pm »
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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Zvoni

  • Hero Member
  • *****
  • Posts: 2315
Re: mysterious marks on the sides of the editor
« Reply #2 on: November 03, 2021, 03:14:46 pm »
at a guess he means the blue rectangles and green squares on the scrollbar
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: mysterious marks on the sides of the editor
« Reply #3 on: November 03, 2021, 03:23:55 pm »
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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Handoko

  • Hero Member
  • *****
  • Posts: 5129
  • My goal: build my own game engine using Lazarus
Re: mysterious marks on the sides of the editor
« Reply #4 on: November 03, 2021, 04:07:00 pm »
... 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.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9791
  • Debugger - SynEdit - and more
    • wiki
Re: mysterious marks on the sides of the editor
« Reply #5 on: November 03, 2021, 04:22:58 pm »
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

Ally

  • Jr. Member
  • **
  • Posts: 52
Re: mysterious marks on the sides of the editor
« Reply #6 on: November 03, 2021, 04:32:43 pm »
And what is particularly useful: If you click on the marking, you are immediately at the relevant point in the text.

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: mysterious marks on the sides of the editor
« Reply #7 on: November 03, 2021, 04:35:41 pm »
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).

af0815

  • Hero Member
  • *****
  • Posts: 1288
Re: mysterious marks on the sides of the editor
« Reply #8 on: November 03, 2021, 05:26:13 pm »
Is the information in the wiki too ?! With the keyword 'overview gutter' i found nothing
regards
Andreas

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: mysterious marks on the sides of the editor
« Reply #9 on: November 03, 2021, 05:47:33 pm »
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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

AlexTP

  • Hero Member
  • *****
  • Posts: 2384
    • UVviewsoft
Re: mysterious marks on the sides of the editor
« Reply #10 on: November 03, 2021, 05:57:05 pm »

Handoko

  • Hero Member
  • *****
  • Posts: 5129
  • My goal: build my own game engine using Lazarus
Re: mysterious marks on the sides of the editor
« Reply #11 on: November 03, 2021, 06:03:41 pm »
Thank you.

 

TinyPortal © 2005-2018