Is it possible to get the current caret position?

Hello,

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?
2 comments
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
0
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?
0

Please sign in to leave a comment.