<br><br>On Friday, January 18, 2013, Colomban Wendling  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 17/01/2013 21:28, Lex Trotman a écrit :<br>
> On 17 January 2013 23:02, Sayth Renshaw <<a href="javascript:;" onclick="_e(event, 'cvml', 'flebber.crue@gmail.com')">flebber.crue@gmail.com</a>> wrote:<br>
>> Hi<br>
>><br>
>> [...]<br>
>><br>
>> Not sure if I have missed something Ruby specific<br>
><br>
> Hi,<br>
><br>
> Well, sort of, or rather Geany has missed something, Ruby specific<br>
> support for indenting :)<br>
><br>
> Geany autoindent is almost language independent, it knows how to:<br>
><br>
> 1. go to the same indent as last line<br>
> 2. indent and unindent on { and }<br>
> 3. as a special case only, indent on : in Python<br>
><br>
> None of these will work for Ruby IIUC.<br>
><br>
> What it needs is for someone to specify the algorithm, and to provide<br>
> a plugin that implements it (such language specific stuff shouldn't be<br>
> in core)<br>
<br>
No, I think that what's needed is a configurable indentation thing, like<br>
what Jiří and I somewhat started at different times, but didn't finish<br>
for some reasons.  I (or somebody else ;)) should get back on that<br>
subject and try to get something working for real, Geany's<br>
auto-indenting is useless in most non-brace language (but Python as you<br>
noted), which is sad.<br>
<br>
Cheers,<br>
Colomban<br>
_______________________________________________<br>
Users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Users@lists.geany.org')">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-</a></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank"></a></blockquote><div><br></div><div>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.</div>
<div><br></div><div>Why the difference ?</div><div><br></div><div>Sayth<span></span></div>