Page 2 of 2

Re: Notepad++ port to MAC I found.

Posted: Thu Jun 13, 2013 8:08 am
by bartbes
This makes me wonder how you indent your ifs.

Re: Notepad++ port to MAC I found.

Posted: Fri Jun 14, 2013 4:38 am
by Jasoco
The only proper way.

Code: Select all

if something then
    print("Whoa")
    if more then
        print("Hello!")
    else
        print("Oops")
    end

    until endOfWorld do
        print("Life")
    end

    aTable = {
        aChair = {
            aList = 94
        }
    }
end
The only proper way. Any other way is repulsive.

If the "end" is at the same position the content of the if is, it looks terrible and makes me tear my hair out.

Re: Notepad++ port to MAC I found.

Posted: Fri Jun 14, 2013 11:22 am
by bartbes
Except for the until being invalid syntax :P. Other than that it looks pretty standard, not sure how an editor could mess up the indentation so badly.

Re: Notepad++ port to MAC I found.

Posted: Fri Jun 14, 2013 12:14 pm
by slime
Jasoco wrote:but as soon as I type the check part of the elseif (elseif x == 3 then) it indents back forcing me to have to manually indent it back to the right place. And turning the feature off indents stupidly.
Weird, that's never happened for me.

Re: Notepad++ port to MAC I found.

Posted: Fri Jun 14, 2013 12:34 pm
by Eamonn
slime wrote:
Jasoco wrote:but as soon as I type the check part of the elseif (elseif x == 3 then) it indents back forcing me to have to manually indent it back to the right place. And turning the feature off indents stupidly.
Weird, that's never happened for me.
The indentation problem happens to me as well. With elseif's it really messes up :( It get's on my nerves!!! If only I could fix it.... :x I still hate TextWrangler :P ST2 is awesome. I thought it was limited, but it's not. The biggest waste of £4 ever was Textastic! The auto-indent doesn't work, auto-complete doesn't work, and I don't have the money for TextMate. I used the trail on that and LOVED it :D But this was about Notepad++ on Mac, which I have tried with WINE and was terrible :P The text was terrible and it had a Window's side bar. ST2 is definably better that N++ and TW and Textastic. I kinda feel bad not being able to pay for it... then I get used to it :D

This was kind of a weird thing to get on to. But still, it's fun to look at everyone's feedback! :D

Re: Notepad++ port to MAC I found.

Posted: Fri Jun 14, 2013 8:39 pm
by Jasoco
bartbes wrote:Except for the until being invalid syntax :P. Other than that it looks pretty standard, not sure how an editor could mess up the indentation so badly.
I'll post a video...

Edit: