From: Rejean Loyer Date: Wed, 14 Sep 2011 16:06:05 +0000 (-0400) Subject: explorer: open all files with the ide X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=ede;a=commitdiff_plain;h=2e977d1ffeeb048fe9c9b54ef15c5bc430f25173;hp=5b04f13e5356bc8f52a8b5bccdd6fc3c097ff76a explorer: open all files with the ide --- diff --git a/explorer/src/ExplorerWindow.ec b/explorer/src/ExplorerWindow.ec index 6d6ee59..5e41a21 100644 --- a/explorer/src/ExplorerWindow.ec +++ b/explorer/src/ExplorerWindow.ec @@ -282,6 +282,18 @@ class ExplorerWindow : Window locationBox = addressBar; navigateFolders = true; borderStyle = none; + + bool NotifyNodeOpen(FileSystemBox box, FileSystemNode node) + { + if(node.type.isFile) + { + char command[MAX_LOCATION]; + char * t = node.path; + sprintf(command, "ide %s", node.path); + ShellOpen(command); + } + return true; + } }; /*ExplorerSearch search