Posted 19 years ago
by Steven Liu

Hi,
I am working with file format like this:
For you reference, here's the complete xml:
my semantic parser is very simple:
Steven
I am working with file format like this:
I defined a multi-line content divider:
I use (\n[ ]*\n|\n) as PatternValue because I want to include the next blank line(if there is one) in the scope, so IntelliPrompt would work properly in that blank line. It seems to work, except that the content divider is displayed twice. It seems that when EndScope token spans multiple lines, SyntaxEditor draws divider for every line. Is there a way to only draw one divider at the last line of the EndScope token?
For you reference, here's the complete xml:
FYI, the complex EndScope LookAhead pattern for SECTION state is look ahead to find the next SECTION keyword, meanwhile ignore multiple blank lines or comment lines in between. In another words, I don't want to include second and further blank lines in the SECTION state, same for comment lines. It works well.
my semantic parser is very simple:
Thanks.
Steven