73 virtual QPair<QString, QString> getIndent(
const QTextCursor &cursor)
const;
75 QPair<QString, QString> handleIndentBetweenParen(
int column,
const QString &line,
const QPair<QString, QString> &parent_impl,
const QTextCursor &cursor)
const;
76 void handleIndentInsideString(
const QChar &c,
const QTextCursor &cursor,
const QString &fullline, QString &post, QString &pre)
const;
77 QString handleNewScopeIndentation(
const QTextCursor &cursor,
const QString &fullline)
const;
78 void handleIndentInStatement(
const QString &fullline,
const QString &lastword, QString &post, QString &pre)
const;
79 void handleIndentAfterParen(
const QTextCursor &cursor, QString &post)
const;
80 bool betweenParen(
const QTextCursor &cursor,
int column)
const;
81 QPair<int, QChar> getFirstOpenParen(
const QTextCursor &tc,
int column)
const;
82 void getParenPos(
const QTextCursor &cursor,
int column,
int &ol,
int &oc,
int &cl,
int &cc)
const;
83 void parensCountForBlock(
int column,
const QTextBlock &block,
int &numOpenParentheses,
int &numClosedParentheses)
const;
84 int getIndentOfOpeningParen(
const QTextCursor &cursor)
const;
85 bool checkKwInLine(
const QStringList &kwds,
const QString &lparam)
const;
87 static QPair<bool, QChar> isInStringDef(
const QString &fullline,
int column);
90 static QString getFullLine(
const QTextCursor &cursor);
91 static QString getLastWordUnstripped(
const QTextCursor &cursor);
92 static QString getLastWord(
const QTextCursor &cursor);
93 static QChar getPrevChar(
const QTextCursor &cursor);
94 static QChar getNextChar(
const QTextCursor &cursor);
95 static bool atBlockEnd(
const QTextCursor &cursor,
const QString &fullline);
96 static bool atBlockStart(
const QTextCursor &cursor,
const QString &line);
98 static QStringList newScopeKeywords;