MCPcopy Create free account
hub / github.com/KDE/kdevelop / textRemoved

Method textRemoved

kdevplatform/language/backgroundparser/documentchangetracker.cpp:191–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191void DocumentChangeTracker::textRemoved(Document* document, const KTextEditor::Range& oldRange, const QString& oldText)
192{
193 m_currentCleanedInsertion.clear();
194 m_lastInsertionPosition = KTextEditor::Cursor::invalid();
195
196 auto delay = recommendedDelay(document, oldRange, oldText, true);
197 m_needUpdate = delay != ILanguageSupport::NoUpdateRequired;
198 updateChangedRange(delay);
199}
200
201void DocumentChangeTracker::documentSavedOrUploaded(KTextEditor::Document* doc, bool)
202{

Callers

nothing calls this directly

Calls 2

invalidFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected