Posted 17 years ago
		by Jason Tobiasz
	
In a document where there is an empty string, I get a squiggly under the string and when you hover over it it says: "unexpected token".
I thought modifying the language as to what was is described in the post: http://www.actiprosoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2938#10849 and in the help file to where PatternValue="[^\"]+" to PatternValue="[^\"]*" would resolve this issue, but it does not.
Below is what I'm using:Any thoughts?
I thought modifying the language as to what was is described in the post: http://www.actiprosoftware.com/Support/Forums/ViewForumTopic.aspx?ForumTopicID=2938#10849 and in the help file to where PatternValue="[^\"]+" to PatternValue="[^\"]*" would resolve this issue, but it does not.
Below is what I'm using:
<State Key="StringState" Style="StringStyle">
  <Scopes>
    <Scope>
      <ExplicitPatternGroup Type="StartScope" TokenKey="StringStartToken" PatternValue="""/>
      <ExplicitPatternGroup Type="EndScope" TokenKey="StringEndToken" PatternValue="""/>
    </Scope>
  </Scopes>
  <PatternGroups>
    <RegexPatternGroup TokenKey="StringBody" PatternValue="[^\"]*" />
  </PatternGroups>
</State>