Fix STR #2475
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
042cc7085e
commit
3ed11e08b0
@ -3660,7 +3660,8 @@ int Fl_Text_Display::handle(int event) {
|
||||
}
|
||||
|
||||
case FL_RELEASE: {
|
||||
if (Fl::event_is_click() && (! Fl::event_clicks()) && buffer()->primary_selection()->includes(dragPos) ) {
|
||||
if (Fl::event_is_click() && (! Fl::event_clicks()) &&
|
||||
buffer()->primary_selection()->includes(dragPos) && !(Fl::event_state()&FL_SHIFT) ) {
|
||||
buffer()->unselect(); // clicking in the selection: unselect and move cursor
|
||||
insert_position(dragPos);
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user