From 560e2d06ba8d10025d94721142cf156e9799c516 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 30 Aug 2016 06:00:57 +0000 Subject: 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 --- fluid/function_panel.fl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fluid/function_panel.fl') diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl index 9d7faa021..62046318a 100644 --- a/fluid/function_panel.fl +++ b/fluid/function_panel.fl @@ -164,6 +164,9 @@ code_panel->hide(); // otherwise hide..} open } } } + code {// Enable line numbers +code_input->linenumber_width(60); +code_input->linenumber_size(code_input->Fl_Text_Display::textsize());} {} } Function {make_codeblock_panel()} {} { -- cgit v1.2.3