Posted 21 years ago
by Marianne

When a trigger fires (for a '.', for example) I'm looking for the previous word. Using:
Editor.Document.CurrentView.GetPreviousToken().Text simply returns '.'. Wouldn't that be the current token? How can I retrieve the actual previous token without using the old 'EndOffset - 2' method?
Editor.Document.CurrentView.GetPreviousToken().Text simply returns '.'. Wouldn't that be the current token? How can I retrieve the actual previous token without using the old 'EndOffset - 2' method?
------------------------------- Marianne