Disable putting selected text in the Primary Selection, since wxGTK is
currenlty clearing the Clipboard when you do this. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
df37f0c65c
commit
f3030ba726
@ -405,6 +405,11 @@ void ScintillaWX::AddToPopUp(const char *label, int cmd, bool enabled) {
|
||||
|
||||
// This is called by the Editor base class whenever something is selected
|
||||
void ScintillaWX::ClaimSelection() {
|
||||
#if 0
|
||||
// Until wxGTK is able to support using both the primary selection and the
|
||||
// clipboard at the same time I think it causes more problems than it is
|
||||
// worth to implement this method. Selecting text should not clear the
|
||||
// clipboard. --Robin
|
||||
#ifdef __WXGTK__
|
||||
// Put the selected text in the PRIMARY selection
|
||||
if (currentPos != anchor) {
|
||||
@ -419,6 +424,7 @@ void ScintillaWX::ClaimSelection() {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -405,6 +405,11 @@ void ScintillaWX::AddToPopUp(const char *label, int cmd, bool enabled) {
|
||||
|
||||
// This is called by the Editor base class whenever something is selected
|
||||
void ScintillaWX::ClaimSelection() {
|
||||
#if 0
|
||||
// Until wxGTK is able to support using both the primary selection and the
|
||||
// clipboard at the same time I think it causes more problems than it is
|
||||
// worth to implement this method. Selecting text should not clear the
|
||||
// clipboard. --Robin
|
||||
#ifdef __WXGTK__
|
||||
// Put the selected text in the PRIMARY selection
|
||||
if (currentPos != anchor) {
|
||||
@ -419,6 +424,7 @@ void ScintillaWX::ClaimSelection() {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user