Solves STR #3319: enable line numbers in: Edit -> Show Source Code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
0eb99fa0b1
commit
974dc18f82
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user