mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-106950 Incremental selection doesn't work in android logcat
This commit is contained in:
+4
@@ -77,6 +77,10 @@ public class SelectWordAtCaretAction extends TextComponentEditorAction implement
|
||||
|
||||
SelectWordUtil.addWordOrLexemeSelection(camel, editor, caretOffset, ranges);
|
||||
|
||||
// add whole line selection
|
||||
int line = document.getLineNumber(caretOffset);
|
||||
ranges.add(new TextRange(document.getLineStartOffset(line), document.getLineEndOffset(line)));
|
||||
|
||||
if (ranges.isEmpty()) return;
|
||||
|
||||
final TextRange selectionRange = new TextRange(selectionModel.getSelectionStart(), selectionModel.getSelectionEnd());
|
||||
|
||||
Reference in New Issue
Block a user