diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-10-24 12:29:54 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-10-31 09:37:17 +0100 |
commit | a9553c494ef6012cc4c34bd469ff0f20ee2e2671 (patch) | |
tree | 00ae228a45485c54077f0541878a352f91a602b5 /src/libs/qmljs/qmljscodeformatter.h | |
parent | f3774d0a6f8fc71c806a84d6b207bde29d967ff4 (diff) | |
download | qt-creator-a9553c494ef6012cc4c34bd469ff0f20ee2e2671.tar.gz |
QmlJS indenter: Never touch indent of multi-line strings.
Task-number: QTCREATORBUG-6368
Change-Id: Iae68427e429e625214bc0729aaaf313dc3371570
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Diffstat (limited to 'src/libs/qmljs/qmljscodeformatter.h')
-rw-r--r-- | src/libs/qmljs/qmljscodeformatter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljscodeformatter.h b/src/libs/qmljs/qmljscodeformatter.h index 7af62d5485..fdd3a46f36 100644 --- a/src/libs/qmljs/qmljscodeformatter.h +++ b/src/libs/qmljs/qmljscodeformatter.h @@ -71,7 +71,7 @@ public: protected: virtual void onEnter(int newState, int *indentDepth, int *savedIndentDepth) const = 0; - virtual void adjustIndent(const QList<Token> &tokens, int lexerState, int *indentDepth) const = 0; + virtual void adjustIndent(const QList<Token> &tokens, int startLexerState, int *indentDepth) const = 0; struct State; class QMLJS_EXPORT BlockData |