Posted 19 years ago
by Karl Grambow

SyntaxEditor v3.1.203, .NET 1.1, Win XP.
Hi,
I'm using oStream.Find to go through a document until a particular token cannot be found and I'm finding it fails to work in a specific instance.
I'm doing something like this:Now, interestingly, if the position of oStream is such that it sits immediately before "SomeToken" the oStream.Find returns false. In my case the token prior to "SomeToken" is a "LineTerminatorToken" but I don't know if that makes a difference. Let me know if you need any more details.
On another note, is there a method that would enable me to just pick out all of the Token's of a given key?
Something like: oStream.GetNextToken("SomeToken")?
Thanks,
Karl
Hi,
I'm using oStream.Find to go through a document until a particular token cannot be found and I'm finding it fails to work in a specific instance.
I'm doing something like this:
While oStream.Find("SomeToken", True)
'do some stuff
End While
On another note, is there a method that would enable me to just pick out all of the Token's of a given key?
Something like: oStream.GetNextToken("SomeToken")?
Thanks,
Karl