added "auto-fold first comment"-option to the editor

Convenient when you don't want to see all the big license headers.
This commit is contained in:
mae
2009-12-01 18:08:02 +01:00
parent 491527ab06
commit dc713d0684
7 changed files with 57 additions and 8 deletions

View File

@@ -173,7 +173,7 @@ public:
static QTextBlock testCollapse(const QTextBlock& block);
static void doCollapse(const QTextBlock& block, bool visible);
int collapseAtPos() const;
int collapseAtPos(QChar *character = 0) const;
enum MatchType { NoMatch, Match, Mismatch };
static MatchType checkOpenParenthesis(QTextCursor *cursor, QChar c);