Is it possible to get the current caret position?


i have a concept with only one property from type string and the editor has only the property cell. Now i want to know at what position the current caret position are?

My aim is to split the string from one cell after pressing space into two.

Has anybody an idea?
Comment actions Permalink
The SplitStringIntoConcatenation intention does nearly what you want, so you can try to look at its code.
On the screenshot there's a newest version of it.
Screen Shot 2014-05-15 at 17.17.09.png
Comment actions Permalink
Thanks! This is what i needed.

One additional question: After creating a new node the caret jumps to it's end. How can i force the caret to be at the beginning?

Please sign in to leave a comment.