From dfe0315ff898c053823a75f5171a0158c0115f4b Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 20 Dec 2007 14:19:17 -0500 Subject: Set 8 style bits by default; src/textadept.c --- src/textadept.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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"); -- cgit v1.2.3