summaryrefslogtreecommitdiff
path: root/bundled
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-04-08 00:00:53 +0200
committerJan Holesovsky <kendy@collabora.com>2018-04-10 17:00:21 +0200
commitffd7151443ee360c7764aaa77f9e7fe5f5d64eee (patch)
tree7d293217c9ce9c0572086162b6f9477a7c392cab /bundled
parentfdc33a7d6042138db75e88eb9454c959523f55ca (diff)
Writer: View jumps to cursor position even if it is moved by an other view.
Need to get the viewid which moved our visible cursor, so we can check whether it positioned changed by the owner of the cursor or not. Change-Id: Ie7b1fafc8d8f11fba0c0b0d5f02d755e15284514 Reviewed-on: https://gerrit.libreoffice.org/52571 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'bundled')
-rw-r--r--bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h b/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h
index 300d91e1c..74d49fa15 100644
--- a/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -84,7 +84,13 @@ typedef enum
/**
* Enable range based header data
*/
- LOK_FEATURE_RANGE_HEADERS = (1ULL << 4)
+ LOK_FEATURE_RANGE_HEADERS = (1ULL << 4),
+
+ /**
+ * Request to have the active view's Id as the 1st value in the
+ * LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR payload.
+ */
+ LOK_FEATURE_VIEWID_IN_VISCURSOR_INVALIDATION_CALLBACK = (1ULL << 5)
}
LibreOfficeKitOptionalFeatures;