Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
0970a8e6
Commit
0970a8e6
authored
Apr 30, 2010
by
Erik Verbruggen
Browse files
Moved quick-exit check back to the indenter.
Reviewed-by: ckamm
parent
ac517807
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/qmljs/qmljsindenter.cpp
View file @
0970a8e6
...
...
@@ -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
);
...
...
src/libs/qmljs/qmljslineinfo.cpp
View file @
0970a8e6
...
...
@@ -564,9 +564,6 @@ bool LineInfo::isContinuationLine()
void
LineInfo
::
initialize
(
QTextBlock
begin
,
QTextBlock
end
)
{
if
(
begin
==
end
)
return
;
yyProgram
=
Program
(
begin
,
end
);
startLinizer
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment