aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/ScintillaEditBase.cpp
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-04-11 16:05:01 +1000
committerNeil <nyamatongwe@gmail.com>2019-04-11 16:05:01 +1000
commite536b61148c007c306bdedbea55000f8eb152884 (patch)
treeb214afba5241f1f4f29f3f06c545e9bdba1903e8 /qt/ScintillaEditBase/ScintillaEditBase.cpp
parent18b0e610929260475c81baab1c0a52d88f5dc11a (diff)
downloadscintilla-mirror-e536b61148c007c306bdedbea55000f8eb152884.tar.gz
Bug [#2087]. Fix flickering when inserting primary selection on GTK between
SciTE tabs. This does not allow primary selection to work between tabs as the tabs are sharing a single Scintilla and the old primary selection is unclaimed when the file is changed. This fix adds a new ReceivedClipboard method which does not try to convert the selection if received in a different format than asked for. It was the call to gtk_selection_convert that seemed to cause the flickering. ReceivedClipboard is only called from SelectionReceiver::ClipboardReceived so only occurs due to a call to RequestSelection and can not occur because of a selection_received signal. ReceivedSelection is left with its complexity in case it is needed for some other issue although it doesn't appear to be called for drag&drop, for example.
Diffstat (limited to 'qt/ScintillaEditBase/ScintillaEditBase.cpp')
0 files changed, 0 insertions, 0 deletions