提交 4fc475fc 编写于 作者: S serge-rider

#9830 Show word under cursor fix

上级 e37b861a
......@@ -115,7 +115,7 @@ class SQLOccurrencesHighlighter {
}
}
if (CommonUtils.isEmpty(wordSelected) || wordSelected.length() < 2) {
if (wordUnderCursor == null && (CommonUtils.isEmpty(wordSelected) || wordSelected.length() < 2)) {
this.removeOccurrenceAnnotations();
} else {
OccurrencesFinder finder = new OccurrencesFinder(document, wordUnderCursor, wordSelected);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册