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
Tobias Hunger
qt-creator
Commits
fa2eca82
Commit
fa2eca82
authored
Nov 16, 2009
by
Roberto Raggi
Browse files
Insert semicolon when matching enum declarations.
Task-number: QTCREATORBUG-282
parent
0b641d38
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/MatchingText.cpp
View file @
fa2eca82
...
...
@@ -238,7 +238,7 @@ QString MatchingText::insertParagraphSeparator(const QTextCursor &tc) const
if
(
current
.
is
(
T_EOF_SYMBOL
))
break
;
else
if
(
current
.
is
(
T_CLASS
)
||
current
.
is
(
T_STRUCT
)
||
current
.
is
(
T_UNION
))
{
else
if
(
current
.
is
(
T_CLASS
)
||
current
.
is
(
T_STRUCT
)
||
current
.
is
(
T_UNION
)
||
current
.
is
(
T_ENUM
)
)
{
// found a class key.
QString
str
=
QLatin1String
(
"};"
);
...
...
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