summaryrefslogtreecommitdiff
path: root/fluid/function_panel.fl
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2016-10-17 17:00:58 +0000
committerGreg Ercolano <erco@seriss.com>2016-10-17 17:00:58 +0000
commitde4572ffdd83fb7a1c167179ce9aff99d7dd5238 (patch)
tree26bb28d2a295240e054b60a2c1aa16d1d0c3787c /fluid/function_panel.fl
parent5404646bb5a230132b6935f65a8b58a43c3e9547 (diff)
Bring over combined fix [r12041/12042] from 1.3 current to the porting branch.
Added line numbers to Edit -> Show Source Code viewer (source + header tabs) Fixes Aditya Siram's observation today on fltk.coredev. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/function_panel.fl')
-rw-r--r--fluid/function_panel.fl4
1 files changed, 4 insertions, 0 deletions
diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl
index aaf97b8b1..0cd9609f7 100644
--- a/fluid/function_panel.fl
+++ b/fluid/function_panel.fl
@@ -905,6 +905,8 @@ Function {make_sourceview()} {} {
Fl_Text_Editor sv_source {
xywh {20 50 480 390} textfont 4 textsize 11 resizable
code0 {\#include "CodeEditor.h"}
+ code1 {o->linenumber_width(60);}
+ code2 {o->linenumber_size(o->Fl_Text_Display::textsize());}
class CodeViewer
}
}
@@ -915,6 +917,8 @@ Function {make_sourceview()} {} {
Fl_Text_Editor sv_header {
xywh {20 50 480 390} textfont 4 textsize 11 resizable
code0 {\#include "CodeEditor.h"}
+ code1 {o->linenumber_width(60);}
+ code2 {o->linenumber_size(o->Fl_Text_Display::textsize());}
class CodeViewer
}
}