• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Anti-indenting and spell section typo

Status
Not open for further replies.
Level 10
Joined
Nov 10, 2004
Messages
351
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