Searched refs:fragmentSelection (Results 1 – 8 of 8) sorted by relevance
41 QTextCursor fragmentSelection(caret); in visitBlock() local42 fragmentSelection.setPosition(it.fragment().position()); in visitBlock()43 …fragmentSelection.setPosition(it.fragment().position() + it.fragment().length(), QTextCursor::Keep… in visitBlock()45 if (fragmentSelection.anchor() >= fragmentSelection.position()) { in visitBlock()49 visitFragmentSelection(fragmentSelection); in visitBlock()64 void visitFragmentSelection(QTextCursor &fragmentSelection) override in visitFragmentSelection() argument66 QTextCharFormat format = fragmentSelection.charFormat(); in visitFragmentSelection()70 m_cursors.append(fragmentSelection); in visitFragmentSelection()
153 QTextCursor fragmentSelection(caret); in visitBlock() local155 fragmentSelection.setPosition( in visitBlock()160 if (fragmentSelection.anchor() >= fragmentSelection.position()) { in visitBlock()164 visitFragmentSelection(fragmentSelection); in visitBlock()209 void visitFragmentSelection(QTextCursor &fragmentSelection) override in visitFragmentSelection() argument212 m_firstFormat = fragmentSelection.charFormat(); in visitFragmentSelection()221 KoTextDocument textDocument(fragmentSelection.document()); in visitFragmentSelection()224 QString selected = fragmentSelection.selectedText(); in visitFragmentSelection()225 fragmentSelection.setPosition(fragmentSelection.selectionStart() + 1); in visitFragmentSelection()226 int position = fragmentSelection.position(); in visitFragmentSelection()[all …]
44 QTextCursor fragmentSelection(caret); in visitBlock() local45 fragmentSelection.setPosition(it.fragment().position()); in visitBlock()46 …fragmentSelection.setPosition(it.fragment().position() + it.fragment().length(), QTextCursor::Keep… in visitBlock()48 if (fragmentSelection.anchor() >= fragmentSelection.position()) { in visitBlock()52 visitFragmentSelection(fragmentSelection); in visitBlock()66 void visitFragmentSelection(QTextCursor &fragmentSelection) override in visitFragmentSelection() argument68 QTextCharFormat format = fragmentSelection.charFormat(); in visitFragmentSelection()72 m_cursors.append(fragmentSelection); in visitFragmentSelection()
155 QTextCursor fragmentSelection(caret); in visitBlock() local157 fragmentSelection.setPosition( in visitBlock()162 if (fragmentSelection.anchor() >= fragmentSelection.position()) { in visitBlock()166 visitFragmentSelection(fragmentSelection); in visitBlock()211 void visitFragmentSelection(QTextCursor &fragmentSelection) override in visitFragmentSelection() argument214 m_firstFormat = fragmentSelection.charFormat(); in visitFragmentSelection()223 KoTextDocument textDocument(fragmentSelection.document()); in visitFragmentSelection()226 QString selected = fragmentSelection.selectedText(); in visitFragmentSelection()227 fragmentSelection.setPosition(fragmentSelection.selectionStart() + 1); in visitFragmentSelection()228 int position = fragmentSelection.position(); in visitFragmentSelection()[all …]
130 QTextCursor fragmentSelection(caret); in visitBlock()131 fragmentSelection.setPosition(qMax(caret.selectionStart(), it.fragment().position())); in visitBlock()132 …fragmentSelection.setPosition(qMin(caret.selectionEnd(), it.fragment().position() + it.fragment().… in visitBlock()134 if (fragmentSelection.anchor() >= fragmentSelection.position()) { in visitBlock()138 visitFragmentSelection(fragmentSelection); in visitBlock()
367 void visitFragmentSelection(QTextCursor &fragmentSelection) override in visitFragmentSelection() argument372 v = fragmentSelection.charFormat().property(KoCharacterStyle::InlineInstanceId); in visitFragmentSelection()377 v = fragmentSelection.charFormat().property(KoCharacterStyle::ChangeTrackerId); in visitFragmentSelection()382 if (fragmentSelection.charFormat().isAnchor()) { in visitFragmentSelection()384 …format.setProperty(KoCharacterStyle::AnchorType, fragmentSelection.charFormat().intProperty(KoChar… in visitFragmentSelection()385 format.setAnchorHref(fragmentSelection.charFormat().anchorHref()); in visitFragmentSelection()389 m_cursors.append(fragmentSelection); in visitFragmentSelection()515 void visitFragmentSelection(QTextCursor &fragmentSelection) override in visitFragmentSelection() argument517 QTextCharFormat format = fragmentSelection.charFormat(); in visitFragmentSelection()521 m_cursors.append(fragmentSelection); in visitFragmentSelection()
367 void visitFragmentSelection(QTextCursor &fragmentSelection) override in visitFragmentSelection() argument372 v = fragmentSelection.charFormat().property(KoCharacterStyle::InlineInstanceId); in visitFragmentSelection()377 v = fragmentSelection.charFormat().property(KoCharacterStyle::ChangeTrackerId); in visitFragmentSelection()382 if (fragmentSelection.charFormat().isAnchor()) { in visitFragmentSelection()384 …format.setProperty(KoCharacterStyle::AnchorType, fragmentSelection.charFormat().intProperty(KoChar… in visitFragmentSelection()385 format.setAnchorHref(fragmentSelection.charFormat().anchorHref()); in visitFragmentSelection()389 m_cursors.append(fragmentSelection); in visitFragmentSelection()514 void visitFragmentSelection(QTextCursor &fragmentSelection) override in visitFragmentSelection() argument516 QTextCharFormat format = fragmentSelection.charFormat(); in visitFragmentSelection()520 m_cursors.append(fragmentSelection); in visitFragmentSelection()