diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-24 08:17:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-24 16:04:37 +0200 |
commit | e71ece6a6f5a817120a3866896828e4158fbde79 (patch) | |
tree | 10312a8b6837eed4f41395ea2d8fa24c40768391 /include/vcl/weld.hxx | |
parent | 1cf7fcda337ad7e9e63234b750b7ab227f5ee6f3 (diff) |
document that nEndPos of -1 is all text
Change-Id: I4646e1ef09db3a637248cff53cbbafb214219cf8
Reviewed-on: https://gerrit.libreoffice.org/59542
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/weld.hxx')
-rw-r--r-- | include/vcl/weld.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index b864231e105a..cee22af8dc31 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -484,6 +484,7 @@ public: virtual OUString get_text() const = 0; virtual void set_width_chars(int nChars) = 0; virtual void set_max_length(int nChars) = 0; + // nEndPos can be -1 in order to select all text virtual void select_region(int nStartPos, int nEndPos) = 0; virtual bool get_selection_bounds(int& rStartPos, int& rEndPos) = 0; virtual void set_position(int nCursorPos) = 0; |