aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.h
diff options
context:
space:
mode:
authorColomban Wendling <ban@herbesfolles.org>2023-01-27 21:09:40 +0100
committerColomban Wendling <ban@herbesfolles.org>2023-01-27 21:09:40 +0100
commit33f32a76dae02591faddc763284cfe4d7264b0b7 (patch)
tree408f4298c64488e3ffa2d868ac5589a57c0ee372 /gtk/ScintillaGTK.h
parentf4985491061752c483eb6ec315049ec992f7ed29 (diff)
downloadscintilla-mirror-33f32a76dae02591faddc763284cfe4d7264b0b7.tar.gz
Feature [feature-requests:#1476] Add support for surrounding text in GTK input methods
Add support for retrieving and deleting surrounding text from input methods on GTK.
Diffstat (limited to 'gtk/ScintillaGTK.h')
-rwxr-xr-xgtk/ScintillaGTK.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h
index 5db4ed3a5..a1ce05969 100755
--- a/gtk/ScintillaGTK.h
+++ b/gtk/ScintillaGTK.h
@@ -235,6 +235,11 @@ private:
void PreeditChangedInlineThis();
void PreeditChangedWindowedThis();
static void PreeditChanged(GtkIMContext *context, ScintillaGTK *sciThis);
+ bool RetrieveSurroundingThis(GtkIMContext *context);
+ static gboolean RetrieveSurrounding(GtkIMContext *context, ScintillaGTK *sciThis);
+ bool DeleteSurroundingThis(GtkIMContext *context, gint characterOffset, gint characterCount);
+ static gboolean DeleteSurrounding(GtkIMContext *context, gint characterOffset, gint characterCount,
+ ScintillaGTK *sciThis);
void MoveImeCarets(Sci::Position pos);
void DrawImeIndicator(int indicator, Sci::Position len);
void SetCandidateWindowPos();