aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-01-26 22:06:13 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-01-26 22:06:13 -0500
commit6cd7f0016da3b5c138fa797cc8aaa9f8671b1419 (patch)
tree0cc79f3634ca01ae119ef042d06348e32c36e601
parent99d11f894c807b65eb4ac005c4e3cd6845e541d9 (diff)
downloadtextadept-6cd7f0016da3b5c138fa797cc8aaa9f8671b1419.tar.gz
textadept-6cd7f0016da3b5c138fa797cc8aaa9f8671b1419.zip
Need to "update_ui" after "buffer_new" to fix statusbar glitch; 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 b85dcabb..de24626e 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -293,6 +293,7 @@ void new_scintilla_buffer(ScintillaObject *sci, bool create, bool addref) {
}
l_set_buffer_global(sci);
l_handle_event("buffer_new");
+ l_handle_event("update_ui"); // update document status
}
/**