From bc42454074073803ad06ca4faa4af555ee5edf34 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Wed, 18 Oct 2017 07:16:46 +0000 Subject: Addresses STR #2788 for cursor positioning with mouse-click on different sides of character. Applying guyben's patch (with small mods suggested by albrecht & greg in comments 7-11). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Text_Display.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index 50dfd1c02..a15c6a465 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -378,7 +378,8 @@ protected: DRAW_LINE, FIND_INDEX, FIND_INDEX_FROM_ZERO, - GET_WIDTH + GET_WIDTH, + FIND_CURSOR_INDEX // STR #2788 }; int handle_vline(int mode, -- cgit v1.2.3