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
Utilities
Kate
Commits
3c87f829
Commit
3c87f829
authored
May 23, 2021
by
Waqar Ahmed
Browse files
Always trim the text in FileLineReader
Signed-off-by:
Waqar Ahmed
<
waqar.17a@gmail.com
>
parent
50565a60
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/lspclient/lspclientpluginview.cpp
View file @
3c87f829
...
...
@@ -183,9 +183,8 @@ public:
if
(
state
.
invalidChars
>
0
)
{
text
=
QString
::
fromLatin1
(
line
);
}
while
(
text
.
size
()
&&
text
.
at
(
text
.
size
()
-
1
).
isSpace
())
{
text
.
chop
(
1
);
}
text
=
text
.
trimmed
();
lastLine
=
text
;
return
text
;
}
...
...
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