Commit 9a801f89 authored by Eike Ziller's avatar Eike Ziller Committed by dt
Browse files

Fixes: - Size of terminal when open in external editor on Mac

parent 96732d70
osascript >/dev/null 2>&1 <<EOF
tell application "Terminal"
do script with command "$@; exit"
do script "$1 $2 +$3 +\"normal $4|\"; exit"
set currentTab to the result
set number of columns of currentTab to $5
set number of rows of currentTab to $6
set position of windows whose tabs contains currentTab to {$7, $8}
end tell
......@@ -345,7 +345,7 @@ EditorManager::EditorManager(ICore *core, QWidget *parent) :
#ifdef Q_OS_MAC
m_d->m_externalEditor = m_d->m_core->resourcePath()
+QLatin1String("/runInTerminal.command vi %f +%l");
+QLatin1String("/runInTerminal.command vi %f %l %c %W %H %x %y");
#elif defined(Q_OS_UNIX)
m_d->m_externalEditor = QLatin1String("xterm -geom %Wx%H+%x+%y -e vi %f +%l +\"normal %c|\"");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment