don't show tooltip on single line highlights

This commit is contained in:
Nate 2024-08-28 23:37:34 -07:00
parent 4b162acf53
commit a3fbc77b54

View file

@ -71,7 +71,7 @@ class ContinuePluginSelectionListener(
editor.contentComponent.layout = null
val line = startLine - 2
if (line > 0) {
if (line > 0 && startLine < endLine) {
// Get the text on line number "line"
// val text = document.getText(document.getLineStartOffset(line), document.getLineEndOffset(line))