mIRC Homepage

The indent Function in The script Editor.

Posted By: iStink

The indent Function in The script Editor. - 30/12/07 06:55 AM

Whenever I hit Enter, this happens:
Code:
On *:TEXT:*:*:{
commands
}

Instead of:
Code:
On *:TEXT:*:*:{
  commands
}

Why?
Also, How can I fix It if It is Fixable?
Posted By: Riamus2

Re: The indent Function in The script Editor. - 30/12/07 11:16 AM

Auto-Indenting is new and not fully complete. It will indent automatically to wherever you were on the previous line, but will not indent more or less based on {}'s (yet). There's nothing you can do about it other than wait for a newer version of mIRC that does have that ability and/or use an external editor.
Posted By: Bekar

Re: The indent Function in The script Editor. - 30/12/07 11:26 AM

or periodically press the check-bracket button.. wink
Posted By: Riamus2

Re: The indent Function in The script Editor. - 01/01/08 02:46 AM

Well, yeah... but that was possible pre-6.31 as well.
© 2021 mIRC Discussion Forums