diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-01-26 15:23:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-26 15:23:43 +0100 |
| commit | 179771acd25ee5ff8e36a5fd192682d4d55c52af (patch) | |
| tree | f7d32685bccef27e64a6f706e7c0e0c9d099c372 /fluid/function_panel.fl | |
| parent | f314ca75feab8c472a9b136fd25636d2d2da68a7 (diff) | |
Fixing FLUID file corruption from issue #653 (#662)
Removing all globals in file writer (#653 )
Fix some static analyser complaints
Valgrind: handle width==0 in GfxDrivers on Wayland and X11
Don't use `Fl_Input_::static_value`, it accesses previous
buffer that may be deleted
Project file write encapsulated, removing globals
Encapsulating project file reader, removing states in glbals
Project i/o increased source code readability
Diffstat (limited to 'fluid/function_panel.fl')
| -rw-r--r-- | fluid/function_panel.fl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl index c830de7c2..a5cf2ae4e 100644 --- a/fluid/function_panel.fl +++ b/fluid/function_panel.fl @@ -5,7 +5,7 @@ code_name {.cxx} comment {// // Code dialogs for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2021 by Bill Spitzak and others. +// Copyright 1998-2023 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -17,7 +17,7 @@ comment {// // // https://www.fltk.org/bugs.php // -} {in_source in_header +} {selected in_source in_header } decl {\#include "fluid.h"} {private local @@ -483,7 +483,7 @@ Function {make_comment_panel()} {open xywh {780 296 550 280} type Double labelsize 11 resizable code0 {o->size_range(320, 180);} modal visible } { - Fl_Text_Editor comment_input {selected + Fl_Text_Editor comment_input { xywh {110 10 430 230} box DOWN_BOX labelsize 11 textfont 4 textsize 11 textcolor 58 resizable code0 {o->when(FL_WHEN_ENTER_KEY_CHANGED|FL_WHEN_RELEASE);} code1 {o->buffer(new Fl_Text_Buffer());} |
