On Friday, January 18, 2013, Colomban Wendling wrote:
Le 17/01/2013 21:28, Lex Trotman a écrit :
> On 17 January 2013 23:02, Sayth Renshaw <flebber.crue@gmail.com> wrote:
>> Hi
>>
>> [...]
>>
>> Not sure if I have missed something Ruby specific
>
> Hi,
>
> Well, sort of, or rather Geany has missed something, Ruby specific
> support for indenting :)
>
> Geany autoindent is almost language independent, it knows how to:
>
> 1. go to the same indent as last line
> 2. indent and unindent on { and }
> 3. as a special case only, indent on : in Python
>
> None of these will work for Ruby IIUC.
>
> What it needs is for someone to specify the algorithm, and to provide
> a plugin that implements it (such language specific stuff shouldn't be
> in core)
No, I think that what's needed is a configurable indentation thing, like
what Jiří and I somewhat started at different times, but didn't finish
for some reasons. I (or somebody else ;)) should get back on that
subject and try to get something working for real, Geany's
auto-indenting is useless in most non-brace language (but Python as you
noted), which is sad.
Cheers,
Colomban
_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-
Can I ask a question about this. Geany is based in scintilla I believe so is scite. When geany didn't work I tried the latest scite and it indented perfectly.
Why the difference ?
Sayth