summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-02-11 09:19:06 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-02-16 09:20:48 +0100
commit2f38b80b486015c1ddb219cf006c1705d2c43872 (patch)
tree990b99a447faa0b49c878794f70bba5937038033 /include/LibreOfficeKit
parentf26dd84f6b99037c75364984bfca57369ae2095f (diff)
LOK: add LOK_SETTEXTSELECTION_RESET
So clients can perform a single method call to adjust the cursor position (when it's not a range), instead of sending two mouse clicks. This is mostly to be consistent, so that adjusting the cursor's middle and start/end handles all result in a setTextSelection() LOK call. Change-Id: I09eb0811887d173ea9ad7d125a2afb2c9e5c918c
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h
index eccf19bd82ce..9c5cca56cf6d 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.h
+++ b/include/LibreOfficeKit/LibreOfficeKit.h
@@ -122,7 +122,9 @@ typedef enum
/// The start of selection is to be adjusted.
LOK_SETTEXTSELECTION_START,
/// The end of selection is to be adjusted.
- LOK_SETTEXTSELECTION_END
+ LOK_SETTEXTSELECTION_END,
+ /// Both the start and the end of selection is to be adjusted.
+ LOK_SETTEXTSELECTION_RESET
}
LibreOfficeKitSetTextSelectionType;