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.
Search found 2 matches
- 22 Jul 2009 23:10
- Forum: Syntax files
- Topic: VBScript On Error
- Replies: 1
- Views: 9693
- 12 May 2009 20:56
- Forum: Syntax files
- Topic: Revised VBScript syntax
- Replies: 0
- Views: 9036
Revised VBScript syntax
Since I have to use VBScript, I added all the control structures based on the VB.Net syntax file. Here's the relevant section of the vbscript.syx file
[Fold]
1_Id=Sub
1_Begin=
1_End=End Sub
1_EndBefore=
1_Section=
1_NoParentOfId=0
1_ListItem=ceMethod
2_Id=Function
2_Begin=
2_End=End Function
2 ...
[Fold]
1_Id=Sub
1_Begin=
1_End=End Sub
1_EndBefore=
1_Section=
1_NoParentOfId=0
1_ListItem=ceMethod
2_Id=Function
2_Begin=
2_End=End Function
2 ...
