On 15 February 2012 13:25, Everton Vieira wrote: > > If someone had to go on the drawing of the editor, please someone, consider > to put lines to show block structure if an option is marked, like the cnpack > does in delphi. I`m aware this is an complicanting of it, but is also a good > feature that many likes. >
I don't know cnpack for Delphi, but I presume you mean the vertical lines connecting begin/end blocks. If so, there is a way to get a similar effect in Lazarus. This is what I have done for Lazarus Trunk (I also have a patch for Lazarus 0.9.30.x if you need). In synedit.pp change the value of SYNEDIT_DEFAULT_VISIBLESPECIALCHARS to vscTabAtFirst. Recompile Lazarus. Then enable "show special characters" in the editor options. If you use TAB indentation (like I do), instead of 2xSpace indentation, then by increasing the tab width enhances the visual effect. See attached screenshot. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net
<<attachment: editor.png>>
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
