Skip to content
GitLab
Menu
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
7f64e11c
Commit
7f64e11c
authored
Apr 24, 2009
by
mae
Browse files
the comma operator in C++ is evil
parent
b9e376f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetexteditor.cpp
View file @
7f64e11c
...
...
@@ -3403,7 +3403,7 @@ void BaseTextEditor::_q_highlightBlocks()
block
.
length
()));
QTextCursor
closeCursor
;
bool
firstRun
=
true
;
while
(
TextBlockUserData
::
findPreviousBlockOpenParenthesis
(
&
cursor
)
,
firstRun
)
{
while
(
TextBlockUserData
::
findPreviousBlockOpenParenthesis
(
&
cursor
,
firstRun
)
)
{
firstRun
=
false
;
highlightBlocksInfo
.
open
.
prepend
(
cursor
.
blockNumber
());
highlightBlocksInfo
.
visualIndent
.
prepend
(
d
->
visualIndent
(
cursor
.
block
()));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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