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
ffc082a3
Commit
ffc082a3
authored
Dec 12, 2008
by
mae
Browse files
small fix for collapse/expand
parent
27c4c1a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetexteditor.cpp
View file @
ffc082a3
...
...
@@ -3404,7 +3404,7 @@ void BaseTextEditor::collapse()
QTextBlock
curBlock
=
block
;
while
(
block
.
isValid
())
{
if
(
TextBlockUserData
::
canCollapse
(
block
)
&&
block
.
next
().
isVisible
())
{
if
(
block
==
curBlock
)
if
(
block
==
curBlock
||
block
.
next
()
==
curBlock
)
break
;
if
((
block
.
next
().
userState
())
>>
8
<=
(
curBlock
.
previous
().
userState
()
>>
8
))
break
;
...
...
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