diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-07-26 12:32:13 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-07-26 12:32:13 +0000 |
| commit | 6b24b209669f2a5d20ad862676f66617507a752d (patch) | |
| tree | 687147edfabd344f96ed64fa3872626ae174f2f5 /src/drivers | |
| parent | 4c999258f1c04cf02bd0d28a8e30f3fba4f84776 (diff) | |
Fix confusing behavior of class Fl_Text_Selection.
Fl_Text_Selection got a new method length() and returns 0 in length()
and in all offsets (start(), end(), position()) if no text is selected
(selected() == false).
The behavior in FLTK 1.3 and earlier versions (returning undefined
values if !selected()) was confusing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions
