forked from qt-creator/qt-creator
Moved quick-exit check back to the indenter.
Reviewed-by: ckamm
This commit is contained in:
@@ -569,6 +569,9 @@ int QmlJSIndenter::indentForStandaloneLine()
|
||||
*/
|
||||
int QmlJSIndenter::indentForBottomLine(QTextBlock begin, QTextBlock end, QChar typedIn)
|
||||
{
|
||||
if (begin == end)
|
||||
return 0;
|
||||
|
||||
const QTextBlock last = end.previous();
|
||||
|
||||
initialize(begin, last);
|
||||
|
||||
Reference in New Issue
Block a user