Auto Indent when press the Enter key

Started by jianguhan, January 11, 2010, 05:33:35 AM

Previous topic - Next topic

jianguhan

The following Lua code:

if b then
    if b then
        end <-press the Enter key, the "end" is still here
end

press the spacebar is ok,
but I don't want to add a space after each "end".

I hope this can be:
if b then
    if b then
    end<-press the Enter key, the "end" is Auto Indented
end

:)


alex

Hi jianguhan,

Yes, this make sense.
I will try to extend behavior for Enter in new 1.48 beta.

Thanks for the suggestion!

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]