summaryrefslogtreecommitdiff
path: root/src/Fl_Text_Display.cxx
AgeCommit message (Collapse)Author
2013-01-13Mac OS: added support for the text input feature introduced in OS 10.7 ↵Manolo Gouy
"Lion" where pressing and holding some key opens a window with possible accented characters. This feature is used by the Fl_Input_ and Fl_Text_Editor widgets. User-defined text input widgets can optionally use this feature, but the default behavior is to not use it. Fl_Secret_Input turns it off, for example. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-29Display the moving insertion point when doing drag&drop to an ↵Manolo Gouy
Fl_Text_Display widget from the widget itself. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-24Mac OS text input: defined a small API that user-defined text editing ↵Manolo Gouy
widgets can use to signal marked text. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-19Mac OS text input: marked text is now underlined.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-18Mac OS text input support: Last change in Fl_Text_Display useless because ↵Manolo Gouy
HIGHLIGHT_MASK is not used anymore for marked text.. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-17Mac OS: improved text input support with visible display of marked text in ↵Manolo Gouy
text widgets. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21STR2731 fixing: potential use of unassigned (Y) valueFabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05Fixed build error in msvs because Fl ref to FULLSCREEN enum was not ↵Fabien Costantini
accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-18Fix STR#2810: removed all uses of function Fl_Device::class_name().Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-18Removed unused variables (gcc 4.6 warning [-Wunused-but-set-variable]).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9137 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-01STR 2701: more tolerant Xft Font Attribute interpretation.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-01If a vertical scrollbar is added, wrapped lines must be recalculated.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9107 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-30Horizontal Scrollbar in TextDisplay is now even smarter.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-30Text area width needs to be recalculated if vertical scrollbar changes ↵Matthias Melcher
visibility. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-30Horizontal scrollbar in TextDisplay is not shown if text wrappes at the ↵Matthias Melcher
right edge git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-28STR 2677: new cursor shape for Fl_Text_DisplayMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-27STR #2691: fixed possible invalid text pointer in Text DisplayMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-27STR 2683: calling show_cursor() before a text buffer is assigned to an ↵Matthias Melcher
Fl_Text_Diisplay deos not crash any longer. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-03fix typo in debug output, as per #2690Ian MacArthur
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16Fix STR #2668.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-13STR 2630: added bounds check for very narrow text editing widgets, wishing ↵Matthias Melcher
that Valgrind was available for OS X git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-06Fix STR #2620. Obeys the tab distance value set by ↵Manolo Gouy
Fl_Text_Buffer::tab_distance(int). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-23Fl_Text_Display: avoid blinking by painting the full widget background only ↵Manolo Gouy
to the printer. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8466 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-22Fl_Text_Display widget: added a call to paint all the widget area with its ↵Manolo Gouy
background color when it's fully redrawn, to avoid thin grey lines that appear when this widget is printed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-13Fixes STR #2519; problems building on VS6.Greg Ercolano
Verified with VS7, which was giving the same errors. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8272 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11Reverting unintentionally committed experimental code in r8256. Sorry.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11Updated documentation/README to reflect the new distribution ofAlbrecht Schlosser
pre-generated documentation as separate downloads. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8256 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20Removed unnecessary function call (the result is always 1).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Removed MSWin compiler warningsManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-14Fix STR # 2485. Triple click must be done with left mouse button to select a ↵Manolo Gouy
whole line. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-14Fix STR # 2484. Middle mouse button paste now works within an Fl_Text_EditorManolo Gouy
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
2010-12-12Added an 'Options' dialog (replacing test/preferences) that can be used to ↵Matthias Melcher
set system wide or user real options like Visible Focus. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Fix STR #2475Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Fix STR #2473Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08Fixed some compiler warnings, most of them in Windows-specific code.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06Fixed crashes when Fl_Text_* detects illegal UTF 8 sequences. Widgets will ↵Matthias Melcher
not do any further processing but just jump over the character. Screen representation depends largely on whatever the underlying OS does with those sequences, but I feel that this is out of the scope of this library. (STR 2348) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05Fixed one doxygen warning and cleaned up documentation/Makefile.Albrecht Schlosser
Removed unused statements and old comment. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02About STR #2456: clipping added to solve STR now requires USE_XFT.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7939 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02More Fl_Text_Display documentation updates.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02Fixed Doxygen comments, typos, and a few indenting issues.Albrecht Schlosser
Part 1, more to come ... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30Fixes STR #2456: adds, for X11, clipping around text to prevent leaking on ↵Manolo Gouy
line above. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30Back to v.7909 because changes in v.7922 don't work with underscores under ↵Manolo Gouy
Linux. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7924 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30Fixes STR #2456. The text background was cleared one pixel too low for very ↵Manolo Gouy
"high" characters. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7922 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29Fixed wrong indenting.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29Fixes STR #2460 and also fixes linefull selection by triple clickManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7908 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28Fixed Copyright to 2010.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27Fixed Fl_Text_Display Tabulator calculations (STR #2450)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27Tab is now alway 8 characters wide.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27Preliminary implementation of Tab characters insisde Fl_Text-*. We still ↵Matthias Melcher
need to test wrapping, etc. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121