aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index 0bcdf28..29ab22c 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -70,6 +70,12 @@ View<ViewImpl>::setup(void)
*/
ssm(SCI_SETHSCROLLBAR, FALSE);
+ /*
+ * Only margin 1 is given a width by default.
+ * To provide a minimalist default view, it is disabled.
+ */
+ ssm(SCI_SETMARGINWIDTHN, 1, 0);
+
ssm(SCI_SETCARETSTYLE, CARETSTYLE_BLOCK);
ssm(SCI_SETCARETPERIOD, 0);
ssm(SCI_SETCARETFORE, 0xFFFFFF);