Notepad++ port to MAC I found.

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Notepad++ port to MAC I found.

Post by bartbes »

This makes me wonder how you indent your ifs.
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Notepad++ port to MAC I found.

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Notepad++ port to MAC I found.

Post 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.
User avatar
slime
Solid Snayke
Posts: 3163
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Notepad++ port to MAC I found.

Post 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.
User avatar
Eamonn
Party member
Posts: 550
Joined: Sat May 04, 2013 1:29 pm
Location: Ireland

Re: Notepad++ port to MAC I found.

Post 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
"In those quiet moments, you come into my mind" - Liam Reilly
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Notepad++ port to MAC I found.

Post 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:

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests