Community
Participate
Working Groups
When replaceTextRange is called, if the current selection is after the replaced text then the selection is adjusted so that the same text is selected. However, the direction of selection is always modified to be left-to-right, even if the original selection was right-to-left. This means that if replaceTextRange is called while a selection is being made, the behavior is incorrect. If the selection is being dragged right-to-left, then modifying the direction causes the original selection to be lost entirely. This is easy to reproduce - call replaceTextRange while a selection is made after the replaced text. This happens on both Windows 10 and Mac OS X.
Do you have a test snippet handy, to reproduce this problem at our end ?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.