mirror of
https://github.com/fltk/fltk.git
synced 2026-05-19 03:02:44 +08:00
Bringing over fix [r11875] from 1.3 current to the porting branch.
Solves STR #3319: enable line numbers in fluid: Edit -> Show Source Code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user