Follow up from another thread
The IDE has an IMHO excellent feature to help reading unfamiliar code... You can use as many colors as you need.
On a related note, there is a great feature called Outline that connects block boundaries with a line and more importantly - colour.
Makes it super easy to see where each block begins and ends.
Wondering why it's not enabled by default...?
I don't recall, not even if it was discussed or just not being thought of...
Though, there will be people who want it off... Of course they can disable it, and I am mostly a defender of the "flaunt it" approach, as it is the best way to make features known.
Though now, after it has been there for such a long time, I hesitate. That is because options set to default, are stored by being not stored in the XML.
So anyone who tried it, and intentionally disabled (kept) it, will just have an absence of "enabled" in the config.
If the default is changed now, then they all will have it active again, despite they did intentionally switch it off (if they had it on for trial at some time).
Btw, I also highly recommend a full read of this page (and again in 6 month time... depending on how well your memory keeps the info). There are a lot of useful features there, and probably for almost everyone some that they don't yet know (or did, but have forgotten)
https://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools
And talking about other cool stuff, there is a new "custom word" (image / for Pascal only / 4.99 only).
It works only on full words (as seen by the highlighter), but unlike "user defined markup" it works with context.
So if you pick "modifier" then that word only changes color when it is a modifier, and nowhere else.
It also is nice for break, continue (which you can set as either ident or keyword in the options). And assert or debugln, if you use those.
And I guess for all else follow the release notes...
If you can make cool representations of any feature, the wiki is open for edits by anyone...
Or, if you are good at it, look at the tips of the day (one per reload). It would be nice to have many many more...
https://gitlab.com/freepascal.org/lazarus/website/-/blob/main/site/tips.txt?ref_type=headsthe images are in the image folder
https://gitlab.com/freepascal.org/lazarus/website/-/tree/main/site/images?ref_type=heads