/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/kotext/commands/ |
H A D | DeleteAnchorsCommand.cpp | 44 KoAnchorTextRange *anchorRange = dynamic_cast<KoAnchorTextRange *>(anchor->textLocation()); in DeleteAnchorsCommand() local 47 } else if (anchorRange && anchorRange->document() == document) { in DeleteAnchorsCommand() 48 m_anchorRanges.append(anchorRange); in DeleteAnchorsCommand() 82 foreach (KoAnchorTextRange *anchorRange, m_anchorRanges) { in redo() 83 rangeManager->remove(anchorRange); in redo() 84 m_document->markContentsDirty(anchorRange->position(), 0); in redo() 101 foreach (KoAnchorTextRange *anchorRange, m_anchorRanges) { in undo() 102 rangeManager->insert(anchorRange); in undo() 103 m_document->markContentsDirty(anchorRange->position(), 0); in undo()
|
H A D | ChangeAnchorPropertiesCommand.cpp | 154 KoAnchorTextRange *anchorRange = new KoAnchorTextRange(m_anchor, cursor); in redo() local 155 anchorRange->setManager(rangeManager); in redo() 156 rangeManager->insert(anchorRange); in redo() 158 m_newLocation = anchorRange; in redo() 159 rangeManager->insert(anchorRange); in redo()
|
H A D | DeleteCommand.cpp | 438 KoAnchorTextRange *anchorRange = dynamic_cast<KoAnchorTextRange *>(range); in doDelete() local 440 if (anchorRange) { in doDelete() 443 if (anchorRange->position() != textEditor->selectionStart() in doDelete() 444 && anchorRange->position() != textEditor->selectionEnd()) { in doDelete() 445 KoShape *shape = anchorRange->anchor()->shape(); in doDelete()
|
/dports/editors/calligra/calligra-3.2.1/libs/text/commands/ |
H A D | DeleteAnchorsCommand.cpp | 46 KoAnchorTextRange *anchorRange = dynamic_cast<KoAnchorTextRange *>(anchor->textLocation()); in DeleteAnchorsCommand() local 49 } else if (anchorRange && anchorRange->document() == document) { in DeleteAnchorsCommand() 50 m_anchorRanges.append(anchorRange); in DeleteAnchorsCommand() 84 foreach (KoAnchorTextRange *anchorRange, m_anchorRanges) { in redo() 85 rangeManager->remove(anchorRange); in redo() 86 m_document->markContentsDirty(anchorRange->position(), 0); in redo() 103 foreach (KoAnchorTextRange *anchorRange, m_anchorRanges) { in undo() 104 rangeManager->insert(anchorRange); in undo() 105 m_document->markContentsDirty(anchorRange->position(), 0); in undo()
|
H A D | ChangeAnchorPropertiesCommand.cpp | 154 KoAnchorTextRange *anchorRange = new KoAnchorTextRange(m_anchor, cursor); in redo() local 155 anchorRange->setManager(rangeManager); in redo() 156 rangeManager->insert(anchorRange); in redo() 158 m_newLocation = anchorRange; in redo() 159 rangeManager->insert(anchorRange); in redo()
|
H A D | DeleteCommand.cpp | 440 KoAnchorTextRange *anchorRange = dynamic_cast<KoAnchorTextRange *>(range); in doDelete() local 442 if (anchorRange) { in doDelete() 445 if (anchorRange->position() != textEditor->selectionStart() in doDelete() 446 && anchorRange->position() != textEditor->selectionEnd()) { in doDelete() 447 KoShape *shape = anchorRange->anchor()->shape(); in doDelete()
|
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/cpp/ |
H A D | CppCompletionSignatureTip.java | 218 Range anchorRange = anchor_.getRange(); in onLoad() 219 if (cursorPos.isBeforeOrEqualTo(anchorRange.getStart()) || in onLoad() 220 cursorPos.isAfterOrEqualTo(anchorRange.getEnd())) in onLoad()
|
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/r/ |
H A D | RCompletionToolTip.java | 285 Range anchorRange = anchor_.getRange(); in onLoad() 287 if (cursorPos.isBeforeOrEqualTo(anchorRange.getStart()) || in onLoad() 288 cursorPos.isAfterOrEqualTo(anchorRange.getEnd())) in onLoad()
|
/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/textlayout/ |
H A D | FloatingAnchorStrategy.cpp | 36 FloatingAnchorStrategy::FloatingAnchorStrategy(KoAnchorTextRange *anchorRange, KoTextLayoutRootArea… in FloatingAnchorStrategy() argument 37 : AnchorStrategy(anchorRange->anchor(), rootArea) in FloatingAnchorStrategy() 38 , m_obstruction(new KoTextLayoutObstruction(anchorRange->anchor()->shape(), QTransform())) in FloatingAnchorStrategy() 39 , m_anchorRange(anchorRange) in FloatingAnchorStrategy()
|
H A D | KoTextDocumentLayout.cpp | 570 KoAnchorTextRange *anchorRange = dynamic_cast<KoAnchorTextRange *>(range); in positionAnchorTextRanges() local 571 if (anchorRange) { in positionAnchorTextRanges() 574 KoShapeAnchor *anchor = anchorRange->anchor(); in positionAnchorTextRanges() 581 … anchor->setPlacementStrategy(new FloatingAnchorStrategy(anchorRange, d->anchoringRootArea)); in positionAnchorTextRanges() 590 QTextBlock anchorBlock = document()->findBlock(anchorRange->position()); in positionAnchorTextRanges() 605 anchorRange->updateContainerModel(); in positionAnchorTextRanges()
|
/dports/editors/calligra/calligra-3.2.1/libs/textlayout/ |
H A D | FloatingAnchorStrategy.cpp | 36 FloatingAnchorStrategy::FloatingAnchorStrategy(KoAnchorTextRange *anchorRange, KoTextLayoutRootArea… in FloatingAnchorStrategy() argument 37 : AnchorStrategy(anchorRange->anchor(), rootArea) in FloatingAnchorStrategy() 38 , m_obstruction(new KoTextLayoutObstruction(anchorRange->anchor()->shape(), QTransform())) in FloatingAnchorStrategy() 39 , m_anchorRange(anchorRange) in FloatingAnchorStrategy()
|
H A D | KoTextDocumentLayout.cpp | 574 KoAnchorTextRange *anchorRange = dynamic_cast<KoAnchorTextRange *>(range); in positionAnchorTextRanges() local 575 if (anchorRange) { in positionAnchorTextRanges() 578 KoShapeAnchor *anchor = anchorRange->anchor(); in positionAnchorTextRanges() 585 … anchor->setPlacementStrategy(new FloatingAnchorStrategy(anchorRange, d->anchoringRootArea)); in positionAnchorTextRanges() 594 QTextBlock anchorBlock = document()->findBlock(anchorRange->position()); in positionAnchorTextRanges() 609 anchorRange->updateContainerModel(); in positionAnchorTextRanges()
|
/dports/www/firefox-esr/firefox-91.8.0/extensions/spellcheck/src/ |
H A D | mozInlineSpellChecker.cpp | 138 RefPtr<nsRange> anchorRange = mozInlineSpellStatus::PositionToCollapsedRange( in CreateForEditorChange() local 140 if (NS_WARN_IF(!anchorRange)) { in CreateForEditorChange() 159 std::move(anchorRange), false, 0}}; in CreateForEditorChange() 234 RefPtr<nsRange> anchorRange = mozInlineSpellStatus::PositionToCollapsedRange( in CreateForNavigation() local 236 if (NS_WARN_IF(!anchorRange)) { in CreateForNavigation() 243 std::move(anchorRange), aForceCheck, in CreateForNavigation()
|
/dports/www/firefox/firefox-99.0/extensions/spellcheck/src/ |
H A D | mozInlineSpellChecker.cpp | 142 RefPtr<nsRange> anchorRange = mozInlineSpellStatus::PositionToCollapsedRange( in CreateForEditorChange() local 144 if (NS_WARN_IF(!anchorRange)) { in CreateForEditorChange() 163 std::move(anchorRange), false, 0}}; in CreateForEditorChange() 238 RefPtr<nsRange> anchorRange = mozInlineSpellStatus::PositionToCollapsedRange( in CreateForNavigation() local 240 if (NS_WARN_IF(!anchorRange)) { in CreateForNavigation() 247 std::move(anchorRange), aForceCheck, in CreateForNavigation()
|
/dports/mail/thunderbird/thunderbird-91.8.0/extensions/spellcheck/src/ |
H A D | mozInlineSpellChecker.cpp | 138 RefPtr<nsRange> anchorRange = mozInlineSpellStatus::PositionToCollapsedRange( in CreateForEditorChange() local 140 if (NS_WARN_IF(!anchorRange)) { in CreateForEditorChange() 159 std::move(anchorRange), false, 0}}; in CreateForEditorChange() 234 RefPtr<nsRange> anchorRange = mozInlineSpellStatus::PositionToCollapsedRange( in CreateForNavigation() local 236 if (NS_WARN_IF(!anchorRange)) { in CreateForNavigation() 243 std::move(anchorRange), aForceCheck, in CreateForNavigation()
|
/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/kotext/opendocument/ |
H A D | KoTextLoader.cpp | 1492 KoAnchorTextRange *anchorRange = new KoAnchorTextRange(anchor, cursor); in loadShape() local 1496 anchorRange->setManager(textRangeManager); in loadShape() 1497 textRangeManager->insert(anchorRange); in loadShape()
|
/dports/editors/calligra/calligra-3.2.1/libs/text/opendocument/ |
H A D | KoTextLoader.cpp | 1494 KoAnchorTextRange *anchorRange = new KoAnchorTextRange(anchor, cursor); in loadShape() local 1498 anchorRange->setManager(textRangeManager); in loadShape() 1499 textRangeManager->insert(anchorRange); in loadShape()
|