Sending begin and end index of text selection with patch to apps in order to know if the text selection should be modified, this can solve many problems that may occur when the two or more cursors are at the same place.