[Geany] Pascal code folding

Enrico Tröger enrico.troeger at xxxxx
Mon Apr 19 17:20:58 UTC 2010

On Mon, 19 Apr 2010 18:00:58 +0200, spir wrote:


>In Pascal mode; folding seems to only wrap parts between begin...end.
>This imo does not match the needs since in Pascal a var section forms
>a logical block; and in pascal like any other PL a whole function def
>indeed form a code block, while only a part of it is enclosed in
>begin...end. Examples:

Folding is done completely by Scintilla.
Please file a feature request there [1].

>Also, is there a way to get func names highlighted? (and class names
>in object pascal) Tried to use the keys defname funcname functionname
>but no way ;-)

Don't style keys which are not listed in the default filetype
definition file, this won't work.
You can try the key "identifier" which does modify the style of
function names but also of variables and maybe more.

[1] https://sourceforge.net/tracker/?group_id=2439&atid=352439


Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20100419/a02b88ae/attachment.pgp>

More information about the Users mailing list