Syntax checker problem with VBS delimiter .

Syntax highlighting, code folding, brace matching, code indenting, and function list

Syntax checker problem with VBS delimiter .

Postby allan.kidd » Thu Jul 06, 2006 10:25 pm

I am using UE 12.10+2
I am unable to get the syntax checker to recognise a word after the delimiter "." for a VBS file.

For example, "oUserStream.writeline" I expect to appear as "oUserStream.WriteLine".
I have the following lines in wordfile.txt:

/L12"VBScript" VBSCRIPT_LANG Line Comment = ' File Extensions = VBS WSF
/Delimiters = tab.(),-+=|\/{}[]:;"'< >
/C4"Methods"
Write WriteBlankLines WriteLine

If I enter the standalone word "writeline" it does appear as "WriteLine" :( .

I do not have any other /L12 entry.
User avatar
allan.kidd
Newbie
 
Posts: 1
Joined: Wed Jul 05, 2006 11:00 pm

Re: Syntax checker problem with VBS delimiter .

Postby Mofi » Wed Sep 06, 2006 10:48 am

Needed a while to find the reason for this issue. It looks like the auto correct feature works in combination with the auto complete feature.

You have to uncheck the option Do not auto-complete structure members (items following "." or "->") at Configuration - Editor - Auto-complete and then the auto correct feature will also correct writeline to WriteLine after a period.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4036
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Syntax Highlighting