mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
custom caret width, see registry: editor.caret.width
This commit is contained in:
@@ -32,6 +32,7 @@ import com.intellij.openapi.editor.ex.EditorEx;
|
||||
import com.intellij.openapi.editor.ex.EditorSettingsExternalizable;
|
||||
import com.intellij.openapi.editor.impl.softwrap.SoftWrapAppliancePlaces;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.psi.PsiDocumentManager;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.psi.codeStyle.CodeStyleSettingsManager;
|
||||
@@ -47,7 +48,7 @@ public class SettingsImpl implements EditorSettings {
|
||||
private SoftWrapAppliancePlaces mySoftWrapAppliancePlace = SoftWrapAppliancePlaces.MAIN_EDITOR;
|
||||
private int myAdditionalLinesCount = 5;
|
||||
private int myAdditionalColumnsCount = 3;
|
||||
private int myLineCursorWidth = 2;
|
||||
private int myLineCursorWidth = Registry.intValue("editor.caret.width", 2);
|
||||
private boolean myLineMarkerAreaShown = true;
|
||||
private boolean myAllowSingleLogicalLineFolding = false;
|
||||
|
||||
|
||||
@@ -478,4 +478,8 @@ ide.transparency.mode.for.windows.description=Allow to add transparency to float
|
||||
ide.new.welcome.screen=true
|
||||
|
||||
enable.recursive.document.changes=false
|
||||
enable.recursive.document.changes.description=Enables performing document changes in document event listeners (this breaks undo/redo functionality!)
|
||||
enable.recursive.document.changes.description=Enables performing document changes in document event listeners (this breaks undo/redo functionality!)
|
||||
|
||||
editor.caret.width=2
|
||||
editor.caret.width.description=Caret width
|
||||
editor.caret.width.restartRequired=true
|
||||
|
||||
Reference in New Issue
Block a user