Hey Harutyun,
I don't actually expect "startSelection" and "endSelection" to be implemented, I was just using the idea of them to explain my situation. It may turn out I might not even need them.
What I really need is when a user makes a text selection, I just need the first and last Row/column sets. For example, what I am doing now is:
editor.getSession().on('changeCursor', function() {
// Store the Row/column values
});
Although when a user clicks and drags the text selection over the text they want, this event fires each time they drag over a character. So for example, what is stored might be something like:
Row : Column -
0 : 0
0 : 1
0 : 2
0 : 3
0 : 4
0 : 5
But in reality, all I want is 0 : 0 and 0 : 5.
I would also need to make sure that when a user makes a different selection, it is stored as its own selection.
Is there currently any way to handle this? I guess what I am really looking for is something like "mouseClickStartSelect" and "MouseReleaseEndSelect".
Would detecting by mouse click and release events cause issues with Ace?