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
Tobias Hunger
qt-creator
Commits
206dafcd
Commit
206dafcd
authored
Jan 29, 2010
by
Roberto Raggi
Browse files
Removed unused code.
parent
1ec6cbd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/qmljs/qmljsindenter.cpp
View file @
206dafcd
...
@@ -85,8 +85,7 @@ const int QmlJSIndenter::BigRoof = 400;
...
@@ -85,8 +85,7 @@ const int QmlJSIndenter::BigRoof = 400;
QmlJSIndenter
::
QmlJSIndenter
()
QmlJSIndenter
::
QmlJSIndenter
()
:
label
(
QRegExp
(
QLatin1String
(
"^
\\
s*((?:case
\\
b([^:])+|[a-zA-Z_0-9.]+)(?:
\\
s+)?:)(?!:)"
))),
:
label
(
QRegExp
(
QLatin1String
(
"^
\\
s*((?:case
\\
b([^:])+|[a-zA-Z_0-9.]+)(?:
\\
s+)?:)(?!:)"
))),
braceX
(
QRegExp
(
QLatin1String
(
"^
\\
s*
\\
}
\\
s*(?:else|catch)
\\
b"
))),
braceX
(
QRegExp
(
QLatin1String
(
"^
\\
s*
\\
}
\\
s*(?:else|catch)
\\
b"
)))
iflikeKeyword
(
QRegExp
(
QLatin1String
(
"
\\
b(?:catch|do|for|if|while|with)
\\
b"
)))
{
{
/*
/*
...
...
src/libs/qmljs/qmljsindenter.h
View file @
206dafcd
...
@@ -134,7 +134,6 @@ private:
...
@@ -134,7 +134,6 @@ private:
QRegExp
label
;
QRegExp
label
;
QRegExp
braceX
;
QRegExp
braceX
;
QRegExp
iflikeKeyword
;
};
};
}
// namespace QmlJS
}
// namespace QmlJS
...
...
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