itom
Loading...
Searching...
No Matches
ito::CharBasedFoldDetector Class Reference
Inheritance diagram for ito::CharBasedFoldDetector:
ito::FoldDetector

Public Member Functions

 CharBasedFoldDetector (QChar openChars='{', QChar closeChars='}', QObject *parent=NULL)
 
virtual int detectFoldLevel (const QTextBlock &previousBlock, const QTextBlock &block)
 
- Public Member Functions inherited from ito::FoldDetector
 FoldDetector (QObject *parent=NULL)
 
void processBlock (QTextBlock &currentBlock, QTextBlock &previousBlock, const QString &text)
 
CodeEditoreditor () const
 
void setEditor (CodeEditor *editor)
 

Private Member Functions

 Q_DECLARE_PRIVATE (CharBasedFoldDetector)
 

Private Attributes

CharBasedFoldDetectorPrivated_ptr
 

Member Function Documentation

◆ detectFoldLevel()

int ito::CharBasedFoldDetector::detectFoldLevel ( const QTextBlock & previousBlock,
const QTextBlock & block )
virtual

Implements ito::FoldDetector.


The documentation for this class was generated from the following files: