mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
check isCaretRowShown in gutter
This commit is contained in:
+1
@@ -380,6 +380,7 @@ class EditorGutterComponentImpl extends EditorGutterComponentEx implements Mouse
|
||||
}
|
||||
|
||||
private void paintCaretRowBackground(final Graphics g, final int x, final int width) {
|
||||
if (!myEditor.getSettings().isCaretRowShown()) return;
|
||||
final VisualPosition visCaret = myEditor.getCaretModel().getVisualPosition();
|
||||
Color caretRowColor = myEditor.getColorsScheme().getColor(EditorColors.CARET_ROW_COLOR);
|
||||
if (caretRowColor != null) {
|
||||
|
||||
Reference in New Issue
Block a user