summaryrefslogtreecommitdiff
path: root/src/Fl_Text_Editor.cxx
AgeCommit message (Collapse)Author
2008-09-10Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and ↵Matthias Melcher
additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23Changed Makefile in src to use 1.3 instead of 1.1 (STR #1922). Fixed minor ↵Matthias Melcher
issue with handling of shortcuts in text input fields. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23Adding keyboard shortcut to Fl_Value_Input and Fl_Text_EditorMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6111 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08STR #1584: even smarter mouse pointer hiding. I also fixed two little ↵Matthias Melcher
historic bugs in "ask" (double adding a widget, and not using "label.obj()" instead of "copy_label()" for non-static buffer. Lastly, I changed "boxtype" to use a Double_Window because it has become so big now that it started flickering. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-11Fl_Input and Fl_Text_Editor now hide the mouse pointer whenMichael R Sweet
typing into them (STR #1466) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17Fl_Text_Editor now correctly handles middle mouse clicks (STR #1384)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16Update source file headers with STR web page.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24Copyright updates.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-27More doco updates.Michael R Sweet
All of the core widgets now consistently set changed() before calling the callback function for a change in value; this allows programs to check the changed() state in a callback to see why they are being called (STR #475) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-26More documentation updates...Michael R Sweet
Fl_File_Chooser did not handle some cases for filename completion (STR #376) Fl_Help_View didn't properly compute the default maximum width of the page properly, resulting in non-wrapped text in table cells (STR #464) Fl_Text_Editor no longer tries to emulate the Emacs CTRL-A shortcut to move to the first column, since there is a key for that and the widget does not emulate any other Emacs keys (STR #421) Fl_File_Chooser always disabled the OK button when the user pressed DELETE or BACKSPACE (STR #397) Added Fl_Browser::swap() methods (STR #459) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-26The Fl_Text_Display widget did not redraw selections when focusMichael R Sweet
changed (STR #390) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11Copyright updates and prep for 1.1.5rc1.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-24Fl_Text_Display/Editor did not disable the currentMichael R Sweet
selection when focus was shifted to another widget (STR #131) Fl_Choice didn't use the normal focus box when the plastic scheme was in use (STR #129) Fl_Text_Editor didn't use selection_color() consistently (STR #130) The fltk_forms, fltk_gl, and fltk_images DSO's and HP-UX shared libraries are now linked against the fltk shared library to provide complete dependency resolution (STR #118) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-27Fix STR #52 - Fl_Text_Editor didn't set changed() nor did it call callbacksMichael R Sweet
for composed characters. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-01Fix cursor appearance and scrolling of Fl_Text_Editor (patches from Erco)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30Copyright update for 1.1.3 release (not quite yet, but soon...)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08Tab moves forward in menu, Shift-Tab moves backward.Michael R Sweet
CTRL-V no longer segfaults Fl_Text_Editor when the clipboard is empty. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-05Added 'Undo' to Fl_Text_Editor by reusing some of the Fl_Input_ code. I ↵Matthias Melcher
tried many cases and it seems to work fine. Matthias git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-05Added callbacks to Fl_Text_Editor.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30Update tile documentation to be explicit about widgets touching and doingMichael R Sweet
their own borders. Support CMD+[cxv] for copy/cut/paste on OSX. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-29Fix cursor problems and add Shift-Delete, Ctrl-Insert, and Shift-InsertMichael R Sweet
to the default key mapping. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2700 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-23Include "flstring.h" before the FLTK headers, so that bool is definedMichael R Sweet
as needed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09More shadow variable changes...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-11Make Fl_Output a subclass of Fl_Input, and add input_type and readonlyMichael R Sweet
methods/constants to support Fl_Output as a special case of Fl_Input (you can do everything but change the text in Fl_Output...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-07Back-ported cut & paste code from fltk2.0.Bill Spitzak
This code splits the cut & paste into two buffers. The "SELECTION" is used for the currently highlighted text and for middle-mouse paste and (if possible) for handling drag & drop. The "CLIPBOARD" is for Ctrl+C and Ctrl+V style cut & paste. This matches how Motif, GTK, and KDE 3.0 work. But many older X applications (including KDE 2) can only see SELECTION, this results in cut & paste incompatability that is familiar to X users. However this now moves fltk over to the majority camp. On all systems this eliminates the annoying inability to select a region and replace it with Ctrl+V. On Mac and Win32 the SELECTION is local to the application, so middle-mouse paste only works between fields in the application. There may be tricks (special clipboard data types? use drag & drop?) to make it communicate, but unless there are standards it would be fltk-only. The file Fl_cutpaste.cxx has been deleted, so update the IDE files! The Win32 and Mac versions have NOT BEEN TESTED! I tried to be careful editing them but they may need some work. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01Copyright updates...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-03Bug fixes and doco updates care of Sebastian.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27Preliminary commit of my MacOS X work.Michael R Sweet
**** THIS CODE COMPILES BUT DOES NOT WORK. **** TODO: fix event handling - getting blank windows, etc. TODO: re-port OpenGL code. TODO: add support for images with alpha. TODO: add support for more then just beeps in fl_beep(). TODO: other stuff I'm sure... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-04Fl_Text* widgets backported to 1.1 (Carl, please confirm that I haven'tMichael R Sweet
goofed with the layout->resize conversion. Also check fix for mMaxSize being 0 so I set it to textsize()) contrast,inactive -> fl_contrast, fl_inactive, with defines for old names. fl_rect() and fl_rectf() with color args. fl_height, etc. with font,size args. Send FL_RELEASE and FL_DRAG events to the pushed() widget by default. Fix file chooser so it doesn't automatically change dirs if the only matching name is a dir. Updated Fl_Browser_ and Fl_Scrollbar for better mouse wheel support. Moved DLL definitions to new Fl_Export.H. Restore callback functionality in file chooser. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-01This commit was manufactured by cvs2svn to create branch 'branch-1.1'.No Author
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121