summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fluid/CodeEditor.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/fluid/CodeEditor.cxx b/fluid/CodeEditor.cxx
index e4fbc57f2..8a95453d4 100644
--- a/fluid/CodeEditor.cxx
+++ b/fluid/CodeEditor.cxx
@@ -405,6 +405,8 @@ CodeEditor::CodeEditor(int X, int Y, int W, int H, const char *L) :
mBuffer->add_modify_callback(style_update, this);
add_key_binding(FL_Enter, FL_TEXT_EDITOR_ANY_STATE,
(Fl_Text_Editor::Key_Func)auto_indent);
+ linenumber_width(60);
+ linenumber_size(Fl_Text_Display::textsize());
}
// Destroy a CodeEditor widget...