diff options
| author | Neil <nyamatongwe@gmail.com> | 2019-03-28 09:24:53 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2019-03-28 09:24:53 +1100 |
| commit | a01ce5f6d0768ce760447ebb82ce2522a24ef76a (patch) | |
| tree | 4f974f35176f85847f107e3033e8ba917f456d1c /gtk/ScintillaGTK.h | |
| parent | 12433a8312899131e23896db58709a07a0103c5f (diff) | |
| parent | f26ce8da060279b8c6be63e29dac6f339bd65be4 (diff) | |
| download | scintilla-mirror-a01ce5f6d0768ce760447ebb82ce2522a24ef76a.tar.gz | |
Merged Win32 and GTK work.
Diffstat (limited to 'gtk/ScintillaGTK.h')
| -rw-r--r-- | gtk/ScintillaGTK.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h index 501903b42..27f900455 100644 --- a/gtk/ScintillaGTK.h +++ b/gtk/ScintillaGTK.h @@ -36,7 +36,6 @@ class ScintillaGTK : public ScintillaBase { GtkWidgetClass *parentClass; - static GdkAtom atomClipboard; static GdkAtom atomUTF8; static GdkAtom atomString; static GdkAtom atomUriList; @@ -127,13 +126,17 @@ private: int KeyDefault(int key, int modifiers) override; void CopyToClipboard(const SelectionText &selectedText) override; void Copy() override; + void RequestSelection(GdkAtom atomSelection); void Paste() override; void CreateCallTipWindow(PRectangle rc) override; void AddToPopUp(const char *label, int cmd = 0, bool enabled = true) override; bool OwnPrimarySelection(); void ClaimSelection() override; void GetGtkSelectionText(GtkSelectionData *selectionData, SelectionText &selText); +public: // Public for SelectionReceiver + GObject *MainObject() const noexcept; void ReceivedSelection(GtkSelectionData *selection_data); +private: void ReceivedDrop(GtkSelectionData *selection_data); static void GetSelection(GtkSelectionData *selection_data, guint info, SelectionText *text); void StoreOnClipboard(SelectionText *clipText); |
