fltk/fluid
Matthias Melcher 35b28fafd1 last character in CodeEditor (Fluid) would disappear under certain circumstances. The problem is two consecutive calls to Fl_Text_Buffer::insert() which first insert a newline, then indent the text by two spaces. The first 'insert' marks the text all the way to the end for redraw. The second 'insert' adds two characters, however the last character for redraw remains the previously last character, hence the very last two characters are not redrawn.
This fix changes the CodeEditor to do a single 'insert'. It would be better to change Fl_Text_Display to increment the redraw range if more characters are inserted before the actual draw is called. Since this goes too close to core code for my taste, I leave that as an exercise for 2.0.




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4446 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-22 20:18:56 +00:00
..
icons Add icon images (still need to update OSX icon file...) 2005-03-10 12:23:43 +00:00
pixmaps Fluid: Added a pixmap for WidgetClass, added pixmap to the Widget Bin. 2005-05-30 07:32:29 +00:00
.cvsignore Ignore fluid-shared and all exe files. 2002-07-14 17:04:30 +00:00
about_panel.cxx Tweak 1.1.x FLUID some more... 2005-03-17 07:11:57 +00:00
about_panel.fl More UI cleanup. 2005-03-19 08:38:21 +00:00
about_panel.h Tweak 1.1.x FLUID some more... 2005-03-17 07:11:57 +00:00
align_widget.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
alignment_panel.cxx FLUID wasn't tracking all changes on the widget panel, so undo and save stuff 2005-04-21 19:03:46 +00:00
alignment_panel.fl FLUID wasn't tracking all changes on the widget panel, so undo and save stuff 2005-04-21 19:03:46 +00:00
alignment_panel.h Add option to control the number of file history that is shown 2005-03-24 17:45:50 +00:00
CMakeLists.txt Updates to cmake project files (STR #813) 2005-05-13 03:05:08 +00:00
code.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
CodeEditor.cxx last character in CodeEditor (Fluid) would disappear under certain circumstances. The problem is two consecutive calls to Fl_Text_Buffer::insert() which first insert a newline, then indent the text by two spaces. The first 'insert' marks the text all the way to the end for redraw. The second 'insert' adds two characters, however the last character for redraw remains the previously last character, hence the very last two characters are not redrawn. 2005-07-22 20:18:56 +00:00
CodeEditor.h Fix definition of auto_indent() method... 2005-04-11 21:16:25 +00:00
comments.h Make comment strings const char *... 2005-04-14 12:20:12 +00:00
factory.cxx - I enlarged the 'minimal update' area in Fl_Input_, so that characters that overlap the font box will be correctly erased during minimal redraw. The original code assumes that character fin in a box from 0,0 to charcter width/height. However, many newer fonts overlap that box and leave traces when redrawn. See 'j' and 'W' in Helvetica on Mac and Windows. 2005-07-20 11:11:51 +00:00
file.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Function_Type.cxx Declaration in Fluid now uses its own public/private setting unless the parent is a private declaration block, which sets contained declarations to private as well. 2005-07-20 13:20:14 +00:00
Fl_Group_Type.cxx Better support for Live mode in Fluid. Most Widget attributes are now supported including pulldown menus (in a very simple, but working way). 2005-07-19 12:12:15 +00:00
Fl_Menu_Type.cxx Better support for Live mode in Fluid. Most Widget attributes are now supported including pulldown menus (in a very simple, but working way). 2005-07-19 12:12:15 +00:00
Fl_Type.cxx Added the first implementation of "live mode" to Fluid. This is incomplete and mostly untested, but it seems to be a great help to figure out the darned wonderful resize behavior. I apologize for typos, no time to compile on Linux. Please feed back. 2005-07-08 14:12:00 +00:00
Fl_Type.h Better support for Live mode in Fluid. Most Widget attributes are now supported including pulldown menus (in a very simple, but working way). 2005-07-19 12:12:15 +00:00
Fl_Widget_Type.cxx Fluid live mode: correct tooltip support. 2005-07-19 12:27:35 +00:00
Fl_Widget_Type.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Window_Type.cxx - Fluid overlay now shows a seperate bounding box of selected 2005-07-20 11:33:34 +00:00
Fluid_Image.cxx Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fluid_Image.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fluid.cxx If starting Fluid with the -c (compile only) option, Fluid should not require a connection to the X11 Display anymore, allowing fluid to create code on head-less terminals. 2005-07-15 09:48:09 +00:00
fluid.info Fix open-documents callback stuff. 2003-06-01 00:23:57 +00:00
fluid.plist Many FLUID updates... 2005-03-19 04:09:32 +00:00
function_panel.cxx Fluid: Added a pixmap for WidgetClass, added pixmap to the Widget Bin. 2005-05-30 07:32:29 +00:00
function_panel.fl Fluid: Added a pixmap for WidgetClass, added pixmap to the Widget Bin. 2005-05-30 07:32:29 +00:00
function_panel.h Made most Fluid properties dialogs duoble buffered, because they tend to flicker during resizing. 2005-05-30 06:40:25 +00:00
makedepend #include print_panel.cxx in fluid.cxx, so that we don't need to put it in 2005-04-13 16:36:14 +00:00
Makefile Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
makefile.wat Fix eol-style in Watcom files... 2005-05-19 16:07:13 +00:00
print_panel.cxx Change Fl_Spinner to use double values instead of ints. 2005-03-25 02:39:25 +00:00
print_panel.fl Change Fl_Spinner to use double values instead of ints. 2005-03-25 02:39:25 +00:00
print_panel.h Printing support for FLUID... 2005-03-21 04:51:16 +00:00
Shortcut_Button.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
template_panel.cxx Fixed VC++.NET project files (FLTK, FLTKDLL, FLUID). 2005-03-25 21:12:15 +00:00
template_panel.fl Fixed VC++.NET project files (FLTK, FLTKDLL, FLUID). 2005-03-25 21:12:15 +00:00
template_panel.h Fixed VC++.NET project files (FLTK, FLTKDLL, FLUID). 2005-03-25 21:12:15 +00:00
undo.cxx Cast GetCurrentProcessId to int to avoid compiler warning. 2005-04-13 16:32:52 +00:00
undo.h Do'h! Forgot to add these files... 2005-03-20 13:38:04 +00:00
widget_panel.cxx - Fixed Fl_Bitmap::copy code according to Stephans suggestions. Thanks! Good catch. 2005-07-14 13:16:17 +00:00
widget_panel.fl - Fixed Fl_Bitmap::copy code according to Stephans suggestions. Thanks! Good catch. 2005-07-14 13:16:17 +00:00
widget_panel.h Added the first implementation of "live mode" to Fluid. This is incomplete and mostly untested, but it seems to be a great help to figure out the darned wonderful resize behavior. I apologize for typos, no time to compile on Linux. Please feed back. 2005-07-08 14:12:00 +00:00