[Geany] UNindent close of statement

Enrico Tröger enrico.troeger at xxxxx
Thu Aug 5 19:57:49 UTC 2010


On Sun, 01 Aug 2010 17:19:54 -0700, Doug wrote:

>
>> Unfortunately Scintila which is the editing component used by Geany
>> does not allow any distinction between types of operators.  To add
>> this you would have to edit the C++ code in Scintilla that parses the
>> file for highlighting.
>> 
>What I'd like to be able to do is have Geany UNindent a line that
>closes a statement in Lua .. i.e.
>
>if x > 1 then
>   y = 5
>else
>   y = 2
>end  -- automatically Unindent the 'end'
>
>I know this can be done in Scintilla and SciTE has a set of properties
>that does this as well as some other editors that use scintilla but see
>no way to specify using certain keywords as such a do and end only the
>more standard operators like {} and (). Can this be done in Geany?

As usual, this just needs to be implemented. It's quite independent
from Scintilla itself, this is pure application logic. I think this
could be done in a plugin, maybe as component of the addons plugin.

Regards,
Enrico

-- 
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/20100805/88807878/attachment.pgp>


More information about the Users mailing list