I want to add to @schizoid2k’s indention issues.
First, I’m not a fan of the back indent working after I hit enter. This is fine if you’re writing code from scratch but if you’re modifying existing code, you end up with blank lines all over the place.
Consider:
local function fred()
barney = betty
return true
end
Now lets say you want to put an IF statement between the assignment and the return:
local function fred()
barney = betty
if wilma == betty then
pebbles = bambam
end
return true
end
to get that “end” to back indent I have to hit enter and I end up with:
local function fred()
barney = betty
if wilma == betty then
pebbles = bambam
end
return true
end
with the extra blank line. While not favorable, I can probably get used to it, but… there is a related bug too.
Given this code:
local function fred()
barney = betty
if wilma == betty then
pebbles = bambam
end
return true
end
and now I want to put some value between the end and the return as soon as I open up the line between the two I end up with:
local function fred()
barney = betty
if wilma == betty then
pebbles = bambam
end
return true
end
Also today I was looking at a display.newText() object to see if you could change the fonts (for a forum post) and when I dropped a break point in and opened up the text object variable, there was a _Obj (I don’t remember the exact name of it) which appeared to be the guts of the text object. I expanded it and it kind of when into some type of recursions opening the meta tables over and over again. [import]uid: 19626 topic_id: 23072 reply_id: 96942[/import]