mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
This commit is contained in:
+1
@@ -72,6 +72,7 @@ public class DocumentFragmentTooltipRenderer implements TooltipRenderer {
|
||||
if (endLine - startLine > maxLineCount) {
|
||||
endOffset = doc.getLineEndOffset(Math.max(0, Math.min(startLine + maxLineCount, doc.getLineCount() - 1)));
|
||||
}
|
||||
if (endOffset < startOffset) return null;
|
||||
|
||||
FoldingModelEx foldingModel = (FoldingModelEx)editor.getFoldingModel();
|
||||
foldingModel.setFoldingEnabled(false);
|
||||
|
||||
Reference in New Issue
Block a user