void CppQtStyleIndenter::invalidateCache(QTextDocument *doc) { CppTools::QtStyleCodeFormatter formatter; formatter.invalidateCache(doc); }
void CppEditorDocument::invalidateFormatterCache() { CppTools::QtStyleCodeFormatter formatter; formatter.invalidateCache(document()); }