Order window front when opening files

Ensure that the window is ordered front when opening files in an already
open window (otherwise a newly open filed may be in an obscured window).
This commit is contained in:
Bjorn Winckler
2008-01-31 16:19:00 +01:00
parent 3c18a31949
commit f2740bd858
+1
View File
@@ -255,6 +255,7 @@ typedef struct
if ((openInTabs && (vc = [self topmostVimController]))
|| (vc = [self findUntitledWindow])) {
// Open files in an already open window.
[[[vc windowController] window] makeKeyAndOrderFront:self];
[self passArguments:arguments toVimController:vc];
} else {
// Open files in a launching Vim process or start a new process.