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

Method removeHighlighting

plugins/patchreview/patchreview.cpp:184–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184void PatchReviewPlugin::removeHighlighting( const QUrl& file ) {
185 if ( file.isEmpty() ) {
186 ///Remove all highlighting
187 qDeleteAll( m_highlighters );
188 m_highlighters.clear();
189 } else {
190 HighlightMap::iterator it = m_highlighters.find( file );
191 if ( it != m_highlighters.end() ) {
192 delete *it;
193 m_highlighters.erase( it );
194 }
195 }
196}
197
198void PatchReviewPlugin::notifyPatchChanged() {
199 if (m_patch) {

Callers

nothing calls this directly

Calls 4

isEmptyMethod · 0.45
clearMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected