How do I use the new 1.8 RC3 Structural Highlighting feature? lazarus / 9-Editor ---------------------------------------------------------------------- carl_caulkett · 2017-07-07 12:51 Hello, I read in the http://wiki.freepascal.org/Lazarus_1.8.0_release_notes that there is a new "New colored outline of source structure." feature. I've been through the options but I cannot see how to enable this. What's the secret? ---------------------------------------------------------------------- wp · 2017-07-07 13:44 "Tools" > "Options" > "Editor" > "Matching Keywords": Check "Outline (global)". You can fine-tune below. ---------------------------------------------------------------------- carl_caulkett · 2017-07-07 13:59 Cool! Thanks very much. Any way of changing the choice of colors? ---------------------------------------------------------------------- carl_caulkett · 2017-07-07 21:32 OK. I've found a rather hacky way of changing the garish red level 0 line color to a much more soothing Fuchsia. I changed line 179 of SynEditMarkupFoldColoring.pas from Colors[0] := clRed; to Colors[0] := $00FF00FF;. Ideally this line would assign the current Keyword color to Colors[0] to give a more coherent color scheme where the color of the keywords is more uniform. (my Keyword color is Fuchsia, by the way!). ---------------------------------------------------------------------- carl_caulkett · 2017-07-07 21:58 Submitted to Mantis as https://bugs.freepascal.org/view.php?id=32125 ---------------------------------------------------------------------- Pascal · 2017-07-08 05:31 I will implement the color options for this in the near future. So for the time beeing just change the source. ---------------------------------------------------------------------- carl_caulkett · 2017-07-08 13:10 Cool! Color choice aside, it's a really good feature ---------------------------------------------------------------------- Pascal · 2017-07-08 18:29 Yes, i also like it very much. That's why i developed it further after x2nie did a briliant start. ---------------------------------------------------------------------- carl_caulkett · 2017-07-08 22:28 I've just spotted why the color red was chosen as the first color. Very appropriate on Pride Day! ---------------------------------------------------------------------- JD · 2017-07-09 13:30 Excellent. I always install CNPack in Delphi so I really like this.  JD