summaryrefslogtreecommitdiff
path: root/vcl/inc/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-24 21:12:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-25 22:01:58 +0100
commit41df2d06cc13a1c60a4ea9671535afb8bd55b344 (patch)
tree96c61b2bed2a746657f1212b9cf53916e01b8bf7 /vcl/inc/unx
parent8d3a60ce43a36a4568c772afdb331f29e51503c2 (diff)
Related: tdf#137620 factor out working IMDeleteSurrounding hunk
Change-Id: I7504e8670fb464fe3e76a3d38f1cac39ba2e9208 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104779 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r--vcl/inc/unx/gtk/gtkframe.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index 820d796bf6e5..ad67070f2b0c 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -528,6 +528,7 @@ public:
static gboolean NativeWidgetHelpPressed(GtkAccelGroup*, GObject*, guint,
GdkModifierType, gpointer pFrame);
static OUString GetPreeditDetails(GtkIMContext* pIMContext, std::vector<ExtTextInputAttr>& rInputFlags, sal_Int32& rCursorPos, sal_uInt8& rCursorFlags);
+ static Selection CalcDeleteSurroundingSelection(const OUString& rSurroundingText, int nCursorIndex, int nOffset, int nChars);
void DisallowCycleFocusOut();
bool IsCycleFocusOutDisallowed() const;