Also, makes clear that the code is ready to deal with any encoding, not just fixed-length ones.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Files utf8Input.c and utf8Wrap.c (via ucs2fontmap.c that's included)
need a different half of each of these input files. What is in the other
half is unused and thus triggers a compilation warning.
This has been fixed by adding #define NEED_TOWC in utf8Input.c
and #define NEED_TOMB in ucs2fontmap.c and by bracketting the first half
of these include files by #ifdef NEED_TOWC/#endif and the second half
by #ifdef NEED_TOMB/#endif.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
are disabled by system or user options. Otherwise users wouldn't get the
necessary tooltips if someone switched tooltips off.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl::option(Fl::OPTION_ARROW_FOCUS). Maybe this could improved, but this is
the shortest way to make the option work always.
Improved tooltips in test/preferences.fl for users and system managers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
To do: Check remaining #define and usage in src/Fl_Input.cxx.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This is necessary for out-of-source builds (e.g. CMake) to work correctly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
and from/to other applications. Also fixed interaction between selection and insertion cursor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
change default to COPY for linux because UNDEFINED don't work and sometimes crash X with
intel video cards.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
DragEnter once at Drop) and never free'ed. Now it's malloc'ed once and free'ed after use.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
the Fl_Text_xxx selection is changed by shift-arrow key.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8024 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
ASCII text and transmitting it unchanged to the FLTK widget into accepting either UTF-16
or CP1252 text and in both cases transmitting it to FLTK recoded into UTF-8.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
where they are better located. Small reorganization of device-related include files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
These files can be used to test drag'n'drop from a browser to another
application and test correct character conversion.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
data is interpreted according to CP1252 and transcoded to UTF-8. By default, a warning
message is displayed when the input file was transcoded. This default behavior can be
modified by changing a function pointer. A flag has been added to the Fl_Text_Buffer object
that informs the caller if the input file was transcoded to UTF-8.
The Fl_Text_Buffer.cxx file contains some preliminary code that could be used in the future
to input other encodings provided they are fixed-length (e.g., all ISO-8859-* character sets,
UTF-16). This code is not compiled at this point.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
(since it is a spreadsheet as well as demonstrating keyboard nav in tables).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
selection, source file indenting, and a crash if we have an empty selection.
Update for previous fix to STR #2472 (X11).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121