[Lazarus] Lazarus slow on large files

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Feb 15 13:27:59 CET 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: editor.png
Type: image/png
Size: 10276 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120215/2f3ad0a6/attachment-0003.png>


More information about the Lazarus mailing list