fltk/FL
Bill Spitzak 5f55e1cd63 Back-ported cut & paste code from fltk2.0.
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-03-07 19:22:58 +00:00
..
.cvsignore CVS ignore files... 2001-12-21 15:37:39 +00:00
dirent.h Copyright updates... 2002-01-01 15:11:33 +00:00
Enumerations.H First round of DND additions to 1.1 - just X11 code, and I haven't added 2002-01-09 21:50:02 +00:00
filename.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Adjuster.H Copyright updates... 2002-01-01 15:11:33 +00:00
fl_ask.H Fix prototypes for fl_input() and fl_password(). 2002-01-30 13:38:15 +00:00
Fl_Bitmap.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_BMP_Image.H Add Fl_BMP_Image class and docos. 2002-01-06 17:51:12 +00:00
Fl_Box.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Browser_.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Browser.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Chart.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Check_Browser.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Check_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Choice.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Clock.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Color_Chooser.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Counter.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Dial.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Double_Window.H Copyright updates... 2002-01-01 15:11:33 +00:00
fl_draw.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Export.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_File_Browser.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_File_Chooser.H Add "shown()" method to Fl_File_Chooser. 2001-12-15 15:20:54 +00:00
Fl_File_Icon.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Fill_Dial.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Fill_Slider.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Float_Input.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_FormsBitmap.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_FormsPixmap.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Free.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_GIF_Image.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Gl_Window.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Group.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Help_Dialog.H Demo updates (so they all will use the default scheme) 2001-12-23 03:40:51 +00:00
Fl_Help_View.H Fix rendering of background color in table cells. 2002-03-05 11:26:41 +00:00
Fl_Hold_Browser.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Hor_Fill_Slider.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Hor_Nice_Slider.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Hor_Slider.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Hor_Value_Slider.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Image.H Fixed from Teun. 2002-01-07 20:40:02 +00:00
Fl_Input_.H Back-ported cut & paste code from fltk2.0. 2002-03-07 19:22:58 +00:00
Fl_Input.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Int_Input.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_JPEG_Image.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Light_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Line_Dial.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Menu_.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Menu_Bar.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Menu_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Menu_Item.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Menu_Window.H Don't apply tile image to menu or overlay windows. 2002-01-07 18:47:27 +00:00
Fl_Menu.H Copyright updates... 2002-01-01 15:11:33 +00:00
fl_message.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Multi_Browser.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Multi_Label.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Multiline_Input.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Multiline_Output.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Nice_Slider.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Object.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Output.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Overlay_Window.H Don't apply tile image to menu or overlay windows. 2002-01-07 18:47:27 +00:00
Fl_Pack.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Pixmap.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_PNG_Image.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_PNM_Image.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Positioner.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Progress.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Radio_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Radio_Light_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Radio_Round_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Repeat_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Return_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Roller.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Round_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Round_Clock.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Scroll.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Scrollbar.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Secret_Input.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Select_Browser.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Shared_Image.H Copyright updates... 2002-01-01 15:11:33 +00:00
fl_show_colormap.H Copyright updates... 2002-01-01 15:11:33 +00:00
fl_show_input.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Simple_Counter.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Single_Window.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Slider.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Sys_Menu_Bar.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Tabs.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Text_Buffer.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Text_Display.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Text_Editor.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Tile.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Tiled_Image.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Timer.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Toggle_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Toggle_Light_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Toggle_Round_Button.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Tooltip.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Valuator.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Value_Input.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Value_Output.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Value_Slider.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Widget.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Window.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_Wizard.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_XBM_Image.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl_XPM_Image.H Copyright updates... 2002-01-01 15:11:33 +00:00
Fl.H Back-ported cut & paste code from fltk2.0. 2002-03-07 19:22:58 +00:00
forms.H Copyright updates... 2002-01-01 15:11:33 +00:00
gl2opengl.h Initial revision 1998-10-06 18:21:25 +00:00
gl_draw.H Copyright updates... 2002-01-01 15:11:33 +00:00
gl.h Copyright updates... 2002-01-01 15:11:33 +00:00
glut.H Copyright updates... 2002-01-01 15:11:33 +00:00
mac.H cleaned up src/Fl_mac.cxx, fixed Fl::wait(0.0), fixed Cmd-Q handling 2002-01-03 08:08:21 +00:00
mac.r Implemeted 95% of all Mac OS X support. Makefiles still need modifications. 2001-12-06 00:17:47 +00:00
Makefile.in Use +O2 for compiler on HP-UX. 2002-02-15 18:15:46 +00:00
math.h Copyright updates... 2002-01-01 15:11:33 +00:00
win32.H Copyright updates... 2002-01-01 15:11:33 +00:00
x.H Back-ported cut & paste code from fltk2.0. 2002-03-07 19:22:58 +00:00