aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/interface.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index 0fd7af2..17ec0a2 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -63,6 +63,13 @@ View<ViewImpl>::setup(void)
ssm(SCI_SETFOCUS, TRUE);
+ /*
+ * Some Scintilla implementations show the horizontal
+ * scroll bar by default.
+ * Ensure it is never displayed by default.
+ */
+ ssm(SCI_SETHSCROLLBAR, FALSE);
+
ssm(SCI_SETCARETSTYLE, CARETSTYLE_BLOCK);
ssm(SCI_SETCARETFORE, 0xFFFFFF);