Recent

Author Topic: [SOLVED] Q about the right hand editor window marks  (Read 752 times)

440bx

  • Hero Member
  • *****
  • Posts: 4335
[SOLVED] Q about the right hand editor window marks
« on: May 12, 2024, 08:11:05 am »
Hello,

In the editor window, next to the scrollbar, there is a vertical area that has some indicators that I'm unable to figure out what they identify.

Please refer to the attachments, particularly the zoomed-in attachment where the marks are easier to see.

Here are the questions I have:

1. from the top, there are 4 little rectangular blue marks, what do they identify ?

2. below those, there is a green little rectangle, what does that one identify ? why is it green instead of blue ?

3. towards the bottom there is a white area (instead of grey), does that area mean something ?

4. in the proximity of the white area there are a number of green rectangles that are half the width of the grey "column".  What do those green areas/rectangles identify ?

5. there is a fuchsia colored rectangle below the green areas.  Why is that rectangle a different color ? and what does it identify ?

I noticed that scrolling the text does not seem to have any effect on any of those indicators making their purpose a bit hard to guess.  Just in case the answer to the above questions doesn't shed light on why scrolling has no effect on them, I'd like to know why it doesn't.

Thank you for your help.

PS: the screenshots are from a trunk version of Lazarus that is about 2 weeks old but, I've noticed a similar pattern in v3.2


« Last Edit: May 12, 2024, 08:53:25 am by 440bx »
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

paweld

  • Hero Member
  • *****
  • Posts: 1089
Re: Q about the right hand editor window marks
« Reply #1 on: May 12, 2024, 08:40:15 am »
https://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options_Display_Gutter
Quote from: 440bx
4. in the proximity of the white area there are a number of green rectangles that are half the width of the grey "column".  What do those green areas/rectangles identify ?
Quote from: wiki
modified lines: a yellow square shows recent unsaved modifications; green squares show saved modified lines
you can disable/change it: Tools > Options > Editor > Display > Colors
Best regards / Pozdrawiam
paweld

440bx

  • Hero Member
  • *****
  • Posts: 4335
Re: Q about the right hand editor window marks
« Reply #2 on: May 12, 2024, 08:53:04 am »
Paweld, thank you very much.  That answered all my questions.

One thing I'm noticing is that I need to work on how I search for Lazarus related documentation.  I definitely need to improve that.

Again, thank you for the reply and linking to that page.  That was very helpful. :)
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018