sw/inc/swcrsr.hxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 9905a510fe62c1f64dc7786ac818fef9d5a8e25a
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Tue Mar 19 08:10:29 2024 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue Mar 19 09:55:14 2024 +0100

    sw: document SwCursor
    
    Not to be confused with SwShellCursor, which is only the UI cursor,
    while this is more general.
    
    Change-Id: I2b83dbaa48c9e94db45e997b2b8fef23e3840800
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164989
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index 0dcd5944a90b..33b5ea8d226c 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -67,6 +67,9 @@ namespace o3tl {
     template<> struct typed_flags<SwCursorSkipMode> : 
is_typed_flags<SwCursorSkipMode, 0x3> {};
 }
 
+/// SwCursor is a base class for UI/shell, table and UNO/API cursors.
+///
+/// It's more than just a pair of doc model positions (SwPaM), e.g. can go 
left/right or up/down.
 class SAL_DLLPUBLIC_RTTI SwCursor : public SwPaM
 {
     friend class SwCursorSaveState;

Reply via email to