diff options
author | Robert Loehning <robert.loehning@qt.io> | 2016-06-29 18:18:20 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2016-06-30 11:17:29 +0000 |
commit | 23b3bb5814b5b275abb439ce54515def69dde0c1 (patch) | |
tree | 60f025d1a59cf25d80eeb9ba2226ceadb542c377 /src/share | |
parent | e69144d1da6f22e7d90553bbd57a3140c3019a31 (diff) | |
download | qt-creator-23b3bb5814b5b275abb439ce54515def69dde0c1.tar.gz |
Ask before reloading file changed with external editor
To be consistent with other ways of starting external editors.
Change-Id: Ia6f8d2179076482999ef527353feb91a49e1a2d9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/share')
-rw-r--r-- | src/share/qtcreator/externaltools/notepad_win.xml | 2 | ||||
-rw-r--r-- | src/share/qtcreator/externaltools/vi.xml | 2 | ||||
-rw-r--r-- | src/share/qtcreator/externaltools/vi_mac.xml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/share/qtcreator/externaltools/notepad_win.xml b/src/share/qtcreator/externaltools/notepad_win.xml index f76384db9e..62cf514e7d 100644 --- a/src/share/qtcreator/externaltools/notepad_win.xml +++ b/src/share/qtcreator/externaltools/notepad_win.xml @@ -30,7 +30,7 @@ <description>Opens the current file in Notepad</description> <displayname>Edit with Notepad</displayname> <category>Text</category> - <executable modifiesdocument="yes"> + <executable> <path>notepad</path> <arguments>"%{CurrentDocument:FilePath}"</arguments> <workingdirectory>%{CurrentDocument:Path}</workingdirectory> diff --git a/src/share/qtcreator/externaltools/vi.xml b/src/share/qtcreator/externaltools/vi.xml index 2f4dcf98f4..f703a5602a 100644 --- a/src/share/qtcreator/externaltools/vi.xml +++ b/src/share/qtcreator/externaltools/vi.xml @@ -30,7 +30,7 @@ <description>Opens the current file in vi</description> <displayname>Edit with vi</displayname> <category>Text</category> - <executable modifiesdocument="yes"> + <executable> <path>xterm</path> <arguments>-geom %{CurrentDocument:ColumnCount}x%{CurrentDocument:RowCount}+%{CurrentDocument:XPos}+%{CurrentDocument:YPos} -e vi "%{CurrentDocument:FilePath}" +%{CurrentDocument:Row}</arguments> <workingdirectory>%{CurrentDocument:Path}</workingdirectory> diff --git a/src/share/qtcreator/externaltools/vi_mac.xml b/src/share/qtcreator/externaltools/vi_mac.xml index 46fdc89dea..77d878a314 100644 --- a/src/share/qtcreator/externaltools/vi_mac.xml +++ b/src/share/qtcreator/externaltools/vi_mac.xml @@ -30,7 +30,7 @@ <description>Opens the current file in vi</description> <displayname>Edit with vi</displayname> <category>Text</category> - <executable modifiesdocument="yes"> + <executable> <path>osascript</path> <input> --Terminal opens a window by default when it is not running, so check |