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
8d8312a4
Commit
8d8312a4
authored
Dec 29, 2009
by
Erik Verbruggen
Browse files
Fix to include the last character of a node into the position calculation.
parent
c50172e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppquickfix.cpp
View file @
8d8312a4
...
...
@@ -85,7 +85,7 @@ protected:
unsigned
endLine
,
endColumn
;
getTokenEndPosition
(
lastToken
-
1
,
&
endLine
,
&
endColumn
);
if
(
_line
<
endLine
||
(
_line
==
endLine
&&
_column
<
endColumn
))
{
if
(
_line
<
endLine
||
(
_line
==
endLine
&&
_column
<
=
endColumn
))
{
_nodes
.
append
(
ast
);
return
true
;
}
...
...
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