MCPcopy Create free account
hub / github.com/KDAB/GammaRay / isFoldable

Method isFoldable

ui/codeeditor/codeeditor.cpp:274–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274bool CodeEditor::isFoldable(const QTextBlock &block) const
275{
276#ifdef HAVE_SYNTAX_HIGHLIGHTING
277 return m_highlighter->startsFoldingRegion(block);
278#else
279 Q_UNUSED(block);
280 return false;
281#endif
282}
283
284bool CodeEditor::isFolded(const QTextBlock &block)
285{

Callers 1

mouseReleaseEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected