intellij-community icon indicating copy to clipboard operation
intellij-community copied to clipboard

IDEA-258738: Double click doesn't select a word if it includes a sear…

Open wuxuanqicn opened this issue 4 years ago • 0 comments

SearchResults#caretPositionChanged() called after SelectionModelImpl#fireSelectionChanged() which repaint selection result properly, call myEditor.getSelectionModel().removeSelection() in SearchResults#caretPositionChanged() is inappropriate.

notifyCursorMoved(); is redundant too, introduce the indicator problem reported in IDEA-272238

wuxuanqicn avatar Sep 16 '21 16:09 wuxuanqicn