VBScript On Error

Discuss syntax highlighting or submit new syntax files.
Post Reply
claudermilk
Posts: 6
Joined: 08 May 2009 20:01

VBScript On Error

Post by claudermilk »

The indent highlighter gets confused when it runs into the line "On Error Resume Next". All indent lines stop at that point, probably because it hit the "Next" without a corresponding "For".

I don't see a way of setting up any kind of definition in the Syntax Editor to handle this right now.
User avatar
Rickard Johansson
Site Admin
Posts: 6628
Joined: 19 Jul 2006 14:29

Post by Rickard Johansson »

I've added a new fold item:

Id = Resume
End = Next

Since both "Resume" and "Next" are on the same line, the fold items are ignored.
Post Reply