summaryrefslogtreecommitdiff
path: root/fluid/function_panel.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2016-08-30 06:00:57 +0000
committerGreg Ercolano <erco@seriss.com>2016-08-30 06:00:57 +0000
commit560e2d06ba8d10025d94721142cf156e9799c516 (patch)
treee587e8c1e04ae840f3a9f4e9b3b828e568949291 /fluid/function_panel.cxx
parent0e404ab7d738de85f4f4023d2eb32a9b6ab1a854 (diff)
Bringing over fix [r11880] from 1.3 current to the porting branch.
Limit line numbering to New>Code editor. (was affecting Properties->Callback and New>Code>Comment editors) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.cxx')
-rw-r--r--fluid/function_panel.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx
index 2988dae60..15f6cbf54 100644
--- a/fluid/function_panel.cxx
+++ b/fluid/function_panel.cxx
@@ -197,6 +197,9 @@ Fl_Double_Window* make_code_panel() {
code_panel->set_modal();
code_panel->end();
} // Fl_Double_Window* code_panel
+ // Enable line numbers
+ code_input->linenumber_width(60);
+ code_input->linenumber_size(code_input->Fl_Text_Display::textsize());
return code_panel;
}