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
5cfae537
Commit
5cfae537
authored
May 04, 2010
by
Robert Loehning
Browse files
Fakevim: Fixed handling of line endings on Windows.
parent
e9e59da0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimhandler.cpp
View file @
5cfae537
...
...
@@ -3063,6 +3063,9 @@ bool FakeVimHandler::Private::handleExBangCommand(const QString &line) // :!
QProcess
proc
;
proc
.
start
(
command
);
proc
.
waitForStarted
();
#ifdef Q_OS_WIN
text
.
replace
(
QLatin1String
(
"
\n
"
),
QLatin1String
(
"
\r\n
"
));
#endif
proc
.
write
(
text
.
toUtf8
());
proc
.
closeWriteChannel
();
proc
.
waitForFinished
();
...
...
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