Anti-indenting and spell section typo

Status
Not open for further replies.
I've noticed while viewing spells in the spells section, that at the top it says:

"Model Details for <spellname>"
Which should be "Spell" instead of "Model".

Also, something that keeps bugging me is anti-indenting JASS scripts when i try to edit a post.

JASS:
function Something takes nothing returns boolean
    local boolean b=true
    return b
endfunction
If i edit the post, it will look like this:
JASS:
function Something takes nothing returns boolean
local boolean b=true
return b
endfunction
Tottaly unindented.
 
JASS Indenting Bugs

It's the same for me. That's why I never wrote any JASS tutorials because I got frustrated at the indenting. I think the reason why it does that is because when you "space" out a word, it goes back to the area before the spaces,eg:
Before:
....Word (Spaced Out)
After:
Word (Spaced Out)

JASS:
function FUNC takes nothing returns nothing
    call KillUnit(GetTriggerUnit())
endfunction

^ If you preview this ^

The text will endup like this:
[code=jass]function FUNC takes nothing returns nothing
call KillUnit(GetTriggerUnit())
endfunction[/code]

Unindented as well. So you'll need to re-indent it. :sad:

I think there may be the same problem with quotes but I didn't test it yet.
 
Status
Not open for further replies.
Top