aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2007-12-20 14:19:17 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2007-12-20 14:19:17 -0500
commitdfe0315ff898c053823a75f5171a0158c0115f4b (patch)
tree4d65d82d1aa5db95bff588476135e87f59051172
parent2527d1b94c6987cbe6e09d3b718a75a1283d5c90 (diff)
downloadtextadept-dfe0315ff898c053823a75f5171a0158c0115f4b.tar.gz
textadept-dfe0315ff898c053823a75f5171a0158c0115f4b.zip
Set 8 style bits by default; src/textadept.c
-rw-r--r--src/textadept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c
index c7f18992..6a5122f9 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -109,6 +109,7 @@ void new_scintilla_buffer(ScintillaObject *sci, bool create, bool addref) {
SS(sci, SCI_STYLESETSIZE, 32, 8);
SS(sci, SCI_STYLESETFORE, 32, 0xAA | (0xAA << 8) | (0xAA << 16));
SS(sci, SCI_STYLESETBACK, 32, 0x33 | (0x33 << 8) | (0x33 << 16));
+ SS(sci, SCI_SETSTYLEBITS, 8, 0);
set_default_buffer_properties(sci);
l_set_buffer_global(sci);
l_handle_event("buffer_new");