diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-10 10:45:18 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-16 09:20:46 +0100 |
commit | d25f9a01c1ee3b4c46c04cfe66a662a01c11207e (patch) | |
tree | 9f42bcd0bc9869cbb6003bdff36e99802ee46679 /include/LibreOfficeKit/LibreOfficeKit.h | |
parent | 5dee910234067175b8be2fe5a6ea93dd0fdc8de9 (diff) |
LOK: add LOK_CALLBACK_TEXT_SELECTION_START/END
Without this, it's really hard to figure out where to put selection
handles based on the selection polygon.
Change-Id: I7fde038a33633796a43f0b454a5a7cff701c5dc3
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.h')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h index 1ef70e513c19..204479502eb7 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.h +++ b/include/LibreOfficeKit/LibreOfficeKit.h @@ -75,7 +75,25 @@ typedef enum * LOK_CALLBACK_INVALIDATE_TILES. When there is no selection, an empty * string is provided. */ - LOK_CALLBACK_TEXT_SELECTION + LOK_CALLBACK_TEXT_SELECTION, + /** + * The size and/or the position of the cursor rectangle at the text + * selection start changed. + * + * If this callback is emitted, it's always followed by a + * LOK_CALLBACK_TEXT_SELECTION one. Rectangle format is the same as + * LOK_CALLBACK_INVALIDATE_TILES. + */ + LOK_CALLBACK_TEXT_SELECTION_START, + /** + * The size and/or the position of the cursor rectangle at the text + * selection end changed. + * + * If this callback is emitted, it's always followed by a + * LOK_CALLBACK_TEXT_SELECTION one. Rectangle format is the same as + * LOK_CALLBACK_INVALIDATE_TILES. + */ + LOK_CALLBACK_TEXT_SELECTION_END } LibreOfficeKitCallbackType; |