1
0
Bläddra i källkod

Revert "Make browseIt action invoke Finder"

This reverts commit 0db2f159e7390201d79b72a3bf6266e601dee23e.
Mariano Montone 3 år sedan
förälder
incheckning
0055c7db96
2 ändrade filer med 5 tillägg och 5 borttagningar
  1. 4 4
      src/Helios-Workspace.js
  2. 1 1
      src/Helios-Workspace.st

+ 4 - 4
src/Helios-Workspace.js

@@ -321,11 +321,11 @@ selector: "browseIt",
 protocol: "actions",
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: [],
-source: "browseIt\x0a\x09[ Finder findString: self currentLineOrSelection ] fork",
-referencedClasses: ["Finder"],
+source: "browseIt\x0a\x09[ self model browse: self basicDoIt ] fork",
+referencedClasses: [],
 //>>excludeEnd("ide");
 pragmas: [],
-messageSends: ["fork", "findString:", "currentLineOrSelection"]
+messageSends: ["fork", "browse:", "model", "basicDoIt"]
 }, function ($methodClass){ return function (){
 var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
@@ -335,7 +335,7 @@ $recv((function(){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
-return $recv($globals.Finder)._findString_($self._currentLineOrSelection());
+return $recv($self._model())._browse_($self._basicDoIt());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
 //>>excludeEnd("ctx");

+ 1 - 1
src/Helios-Workspace.st

@@ -148,7 +148,7 @@ basicDoIt
 !
 
 browseIt
-	[ Finder findString: self currentLineOrSelection ] fork
+	[ self model browse: self basicDoIt ] fork
 !
 
 clear