Posted 17 years ago by shark92651
I want to define an EditAction that will do something with the word that the cursor is on. Is there an easy way to get this? It would need to read up to the delimiters that are defined for the language. It would be ideal if it would handle "dot" notation and return the entire identifier. For example, if I have the text "Hello World" and the caret is somewhere inside "World", I would like to return just "World". However, if the text is "Hello.World", I would like to return "Hello.World".