| 272 | } |
| 273 | |
| 274 | bool 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 | |
| 284 | bool CodeEditor::isFolded(const QTextBlock &block) |
| 285 | { |