|
@@ -2,15 +2,15 @@ define(["amber/boot", "amber_core/Kernel-Objects", "helios/Helios-Core"], functi
|
|
if(!$boot.nilAsReceiver)$boot.nilAsReceiver=$boot.nil;
|
|
if(!$boot.nilAsReceiver)$boot.nilAsReceiver=$boot.nil;
|
|
var $core=$boot.api,nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
|
|
var $core=$boot.api,nil=$boot.nilAsReceiver,$recv=$boot.asReceiver,$globals=$boot.globals;
|
|
if(!$boot.nilAsClass)$boot.nilAsClass=$boot.dnu;
|
|
if(!$boot.nilAsClass)$boot.nilAsClass=$boot.dnu;
|
|
-$core.addPackage('Helios-Workspace');
|
|
|
|
|
|
+$core.addPackage("Helios-Workspace");
|
|
$core.packages["Helios-Workspace"].innerEval = function (expr) { return eval(expr); };
|
|
$core.packages["Helios-Workspace"].innerEval = function (expr) { return eval(expr); };
|
|
$core.packages["Helios-Workspace"].transport = {"type":"amd","amdNamespace":"helios"};
|
|
$core.packages["Helios-Workspace"].transport = {"type":"amd","amdNamespace":"helios"};
|
|
|
|
|
|
-$core.addClass('HLCodeModel', $globals.Object, ['announcer', 'environment', 'receiver'], 'Helios-Workspace');
|
|
|
|
|
|
+$core.addClass("HLCodeModel", $globals.Object, ["announcer", "environment", "receiver"], "Helios-Workspace");
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "announcer",
|
|
selector: "announcer",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -40,7 +40,7 @@ $globals.HLCodeModel);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "browse:",
|
|
selector: "browse:",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (anObject){
|
|
fn: function (anObject){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -64,7 +64,7 @@ $globals.HLCodeModel);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "defaultReceiver",
|
|
selector: "defaultReceiver",
|
|
-protocol: 'defaults',
|
|
|
|
|
|
+protocol: "defaults",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -87,7 +87,7 @@ $globals.HLCodeModel);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "doIt:",
|
|
selector: "doIt:",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (aString){
|
|
fn: function (aString){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -127,7 +127,7 @@ $globals.HLCodeModel);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "environment",
|
|
selector: "environment",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -156,7 +156,7 @@ $globals.HLCodeModel);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "environment:",
|
|
selector: "environment:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (anEnvironment){
|
|
fn: function (anEnvironment){
|
|
var self=this;
|
|
var self=this;
|
|
self["@environment"]=anEnvironment;
|
|
self["@environment"]=anEnvironment;
|
|
@@ -175,7 +175,7 @@ $globals.HLCodeModel);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "inspect:",
|
|
selector: "inspect:",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (anObject){
|
|
fn: function (anObject){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -199,7 +199,7 @@ $globals.HLCodeModel);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "receiver",
|
|
selector: "receiver",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -229,7 +229,7 @@ $globals.HLCodeModel);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "receiver:",
|
|
selector: "receiver:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (anObject){
|
|
fn: function (anObject){
|
|
var self=this;
|
|
var self=this;
|
|
self["@receiver"]=anObject;
|
|
self["@receiver"]=anObject;
|
|
@@ -249,7 +249,7 @@ $globals.HLCodeModel);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "on:",
|
|
selector: "on:",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (anEnvironment){
|
|
fn: function (anEnvironment){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -273,11 +273,11 @@ messageSends: ["environment:", "new", "yourself"]
|
|
$globals.HLCodeModel.klass);
|
|
$globals.HLCodeModel.klass);
|
|
|
|
|
|
|
|
|
|
-$core.addClass('HLCodeWidget', $globals.HLWidget, ['model', 'wrapper', 'code', 'editor', 'state'], 'Helios-Workspace');
|
|
|
|
|
|
+$core.addClass("HLCodeWidget", $globals.HLWidget, ["model", "wrapper", "code", "editor", "state"], "Helios-Workspace");
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "announcer",
|
|
selector: "announcer",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -300,7 +300,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "browseIt",
|
|
selector: "browseIt",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
var result;
|
|
var result;
|
|
@@ -346,7 +346,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "canHaveFocus",
|
|
selector: "canHaveFocus",
|
|
-protocol: 'testing',
|
|
|
|
|
|
+protocol: "testing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return true;
|
|
return true;
|
|
@@ -364,7 +364,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "clear",
|
|
selector: "clear",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -388,7 +388,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "configureEditor",
|
|
selector: "configureEditor",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -446,7 +446,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "contents",
|
|
selector: "contents",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -469,7 +469,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "contents:",
|
|
selector: "contents:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (aString){
|
|
fn: function (aString){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -500,7 +500,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "currentLine",
|
|
selector: "currentLine",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -523,7 +523,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "currentLineOrSelection",
|
|
selector: "currentLineOrSelection",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -552,7 +552,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "doIt",
|
|
selector: "doIt",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
var result;
|
|
var result;
|
|
@@ -583,7 +583,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "editor",
|
|
selector: "editor",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return self["@editor"];
|
|
return self["@editor"];
|
|
@@ -601,7 +601,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "editorOptions",
|
|
selector: "editorOptions",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -629,7 +629,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "focus",
|
|
selector: "focus",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -653,7 +653,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "hasFocus",
|
|
selector: "hasFocus",
|
|
-protocol: 'testing',
|
|
|
|
|
|
+protocol: "testing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -676,7 +676,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "hasModification",
|
|
selector: "hasModification",
|
|
-protocol: 'testing',
|
|
|
|
|
|
+protocol: "testing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return false;
|
|
return false;
|
|
@@ -694,7 +694,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "inspectIt",
|
|
selector: "inspectIt",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -718,7 +718,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "messageHintFor:token:",
|
|
selector: "messageHintFor:token:",
|
|
-protocol: 'hints',
|
|
|
|
|
|
+protocol: "hints",
|
|
fn: function (anEditor,aToken){
|
|
fn: function (anEditor,aToken){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -762,7 +762,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "model",
|
|
selector: "model",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -792,7 +792,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "model:",
|
|
selector: "model:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (aModel){
|
|
fn: function (aModel){
|
|
var self=this;
|
|
var self=this;
|
|
self["@model"]=aModel;
|
|
self["@model"]=aModel;
|
|
@@ -811,7 +811,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "navigateTo:",
|
|
selector: "navigateTo:",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (aString){
|
|
fn: function (aString){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -835,7 +835,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "navigateToReference:",
|
|
selector: "navigateToReference:",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (aString){
|
|
fn: function (aString){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -859,7 +859,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onChange",
|
|
selector: "onChange",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -883,7 +883,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onCtrlClickAt:",
|
|
selector: "onCtrlClickAt:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (aPoint){
|
|
fn: function (aPoint){
|
|
var self=this;
|
|
var self=this;
|
|
var ast,node;
|
|
var ast,node;
|
|
@@ -928,7 +928,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onInspectIt",
|
|
selector: "onInspectIt",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -952,7 +952,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onPrintIt",
|
|
selector: "onPrintIt",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -976,7 +976,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onSaveIt",
|
|
selector: "onSaveIt",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return self;
|
|
return self;
|
|
@@ -994,7 +994,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "print:",
|
|
selector: "print:",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (aString){
|
|
fn: function (aString){
|
|
var self=this;
|
|
var self=this;
|
|
var start,stop,currentLine;
|
|
var start,stop,currentLine;
|
|
@@ -1090,7 +1090,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "printIt",
|
|
selector: "printIt",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1114,7 +1114,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "receiver",
|
|
selector: "receiver",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1137,7 +1137,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "receiver:",
|
|
selector: "receiver:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (anObject){
|
|
fn: function (anObject){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1161,7 +1161,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "renderButtonsOn:",
|
|
selector: "renderButtonsOn:",
|
|
-protocol: 'rendering',
|
|
|
|
|
|
+protocol: "rendering",
|
|
fn: function (html){
|
|
fn: function (html){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1269,7 +1269,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "renderContentOn:",
|
|
selector: "renderContentOn:",
|
|
-protocol: 'rendering',
|
|
|
|
|
|
+protocol: "rendering",
|
|
fn: function (html){
|
|
fn: function (html){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1336,7 +1336,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "saveIt",
|
|
selector: "saveIt",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return self;
|
|
return self;
|
|
@@ -1354,7 +1354,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "selection",
|
|
selector: "selection",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1377,7 +1377,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "selectionEnd",
|
|
selector: "selectionEnd",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1400,7 +1400,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "selectionEnd:",
|
|
selector: "selectionEnd:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (anInteger){
|
|
fn: function (anInteger){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1424,7 +1424,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "selectionStart",
|
|
selector: "selectionStart",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1447,7 +1447,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "selectionStart:",
|
|
selector: "selectionStart:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (anInteger){
|
|
fn: function (anInteger){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1471,7 +1471,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "setEditorOn:",
|
|
selector: "setEditorOn:",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (aTextarea){
|
|
fn: function (aTextarea){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1495,7 +1495,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "updateState",
|
|
selector: "updateState",
|
|
-protocol: 'updating',
|
|
|
|
|
|
+protocol: "updating",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1529,7 +1529,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "variableHintFor:token:",
|
|
selector: "variableHintFor:token:",
|
|
-protocol: 'hints',
|
|
|
|
|
|
+protocol: "hints",
|
|
fn: function (anEditor,aToken){
|
|
fn: function (anEditor,aToken){
|
|
var self=this;
|
|
var self=this;
|
|
var variables,classNames,pseudoVariables;
|
|
var variables,classNames,pseudoVariables;
|
|
@@ -1611,7 +1611,7 @@ $globals.HLCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "codeMirror",
|
|
selector: "codeMirror",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1634,7 +1634,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "hintFor:options:",
|
|
selector: "hintFor:options:",
|
|
-protocol: 'hints',
|
|
|
|
|
|
+protocol: "hints",
|
|
fn: function (anEditor,options){
|
|
fn: function (anEditor,options){
|
|
var self=this;
|
|
var self=this;
|
|
var cursor,token,completions,codeMirror;
|
|
var cursor,token,completions,codeMirror;
|
|
@@ -1692,7 +1692,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "initialize",
|
|
selector: "initialize",
|
|
-protocol: 'initialization',
|
|
|
|
|
|
+protocol: "initialization",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1726,7 +1726,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "keyMap",
|
|
selector: "keyMap",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1755,7 +1755,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "macKeyMap",
|
|
selector: "macKeyMap",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return $globals.HashedCollection._newFromPairs_(["Alt-Backspace","delWordBefore","Alt-Delete","delWordAfter","Alt-Left","goWordLeft","Alt-Right","goWordRight","Cmd-A","selectAll","Cmd-Alt-F","replace","Cmd-D","doIt","Cmd-B","browseIt","Cmd-Down","goDocEnd","Cmd-End","goDocEnd","Cmd-F","find","Cmd-G","findNext","Cmd-I","inspectIt","Cmd-Left","goLineStart","Cmd-P","printIt","Cmd-Right","goLineEnd","Cmd-S","saveIt","Cmd-Up","goDocStart","Cmd-Y","redo","Cmd-Z","undo","Cmd-[","indentLess","Cmd-]","indentMore","Ctrl-Alt-Backspace","delWordAfter","Shift-Cmd-Alt-F","replaceAll","Shift-Cmd-G","findPrev","Shift-Cmd-Z","redo","fallthrough",["basic","emacsy"]]);
|
|
return $globals.HashedCollection._newFromPairs_(["Alt-Backspace","delWordBefore","Alt-Delete","delWordAfter","Alt-Left","goWordLeft","Alt-Right","goWordRight","Cmd-A","selectAll","Cmd-Alt-F","replace","Cmd-D","doIt","Cmd-B","browseIt","Cmd-Down","goDocEnd","Cmd-End","goDocEnd","Cmd-F","find","Cmd-G","findNext","Cmd-I","inspectIt","Cmd-Left","goLineStart","Cmd-P","printIt","Cmd-Right","goLineEnd","Cmd-S","saveIt","Cmd-Up","goDocStart","Cmd-Y","redo","Cmd-Z","undo","Cmd-[","indentLess","Cmd-]","indentMore","Ctrl-Alt-Backspace","delWordAfter","Shift-Cmd-Alt-F","replaceAll","Shift-Cmd-G","findPrev","Shift-Cmd-Z","redo","fallthrough",["basic","emacsy"]]);
|
|
@@ -1773,7 +1773,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "messageHintFor:token:",
|
|
selector: "messageHintFor:token:",
|
|
-protocol: 'hints',
|
|
|
|
|
|
+protocol: "hints",
|
|
fn: function (anEditor,aToken){
|
|
fn: function (anEditor,aToken){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1796,7 +1796,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "pcKeyMap",
|
|
selector: "pcKeyMap",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return $globals.HashedCollection._newFromPairs_(["Alt-Left","goLineStart","Alt-Right","goLineEnd","Alt-Up","goDocStart","Ctrl-A","selectAll","Ctrl-Backspace","delWordBefore","Ctrl-D","doIt","Ctrl-B","browseIt","Ctrl-Delete","delWordAfter","Ctrl-Down","goDocEnd","Ctrl-End","goDocEnd","Ctrl-F","find","Ctrl-G","findNext","Ctrl-I","inspectIt","Ctrl-Home","goDocStart","Ctrl-Left","goWordLeft","Ctrl-P","printIt","Ctrl-Right","goWordRight","Ctrl-S","saveIt","Ctrl-Y","redo","Ctrl-Z","undo","Ctrl-[","indentLess","Ctrl-]","indentMore","Shift-Ctrl-F","replace","Shift-Ctrl-G","findPrev","Shift-Ctrl-R","replaceAll","Shift-Ctrl-Z","redo","fallthrough",["basic"]]);
|
|
return $globals.HashedCollection._newFromPairs_(["Alt-Left","goLineStart","Alt-Right","goLineEnd","Alt-Up","goDocStart","Ctrl-A","selectAll","Ctrl-Backspace","delWordBefore","Ctrl-D","doIt","Ctrl-B","browseIt","Ctrl-Delete","delWordAfter","Ctrl-Down","goDocEnd","Ctrl-End","goDocEnd","Ctrl-F","find","Ctrl-G","findNext","Ctrl-I","inspectIt","Ctrl-Home","goDocStart","Ctrl-Left","goWordLeft","Ctrl-P","printIt","Ctrl-Right","goWordRight","Ctrl-S","saveIt","Ctrl-Y","redo","Ctrl-Z","undo","Ctrl-[","indentLess","Ctrl-]","indentMore","Shift-Ctrl-F","replace","Shift-Ctrl-G","findPrev","Shift-Ctrl-R","replaceAll","Shift-Ctrl-Z","redo","fallthrough",["basic"]]);
|
|
@@ -1814,7 +1814,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "setupCodeMirror",
|
|
selector: "setupCodeMirror",
|
|
-protocol: 'initialization',
|
|
|
|
|
|
+protocol: "initialization",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1844,7 +1844,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "setupCommands",
|
|
selector: "setupCommands",
|
|
-protocol: 'initialization',
|
|
|
|
|
|
+protocol: "initialization",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1942,7 +1942,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "setupKeyMaps",
|
|
selector: "setupKeyMaps",
|
|
-protocol: 'initialization',
|
|
|
|
|
|
+protocol: "initialization",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1966,7 +1966,7 @@ $globals.HLCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "variableHintFor:token:",
|
|
selector: "variableHintFor:token:",
|
|
-protocol: 'hints',
|
|
|
|
|
|
+protocol: "hints",
|
|
fn: function (anEditor,aToken){
|
|
fn: function (anEditor,aToken){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -1987,11 +1987,11 @@ messageSends: ["variableHintFor:token:", "at:"]
|
|
$globals.HLCodeWidget.klass);
|
|
$globals.HLCodeWidget.klass);
|
|
|
|
|
|
|
|
|
|
-$core.addClass('HLNavigationCodeWidget', $globals.HLCodeWidget, ['methodContents'], 'Helios-Workspace');
|
|
|
|
|
|
+$core.addClass("HLNavigationCodeWidget", $globals.HLCodeWidget, ["methodContents"], "Helios-Workspace");
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "configureEditor",
|
|
selector: "configureEditor",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2023,7 +2023,7 @@ $globals.HLNavigationCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "contents:",
|
|
selector: "contents:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (aString){
|
|
fn: function (aString){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2055,7 +2055,7 @@ $globals.HLNavigationCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "hasModification",
|
|
selector: "hasModification",
|
|
-protocol: 'testing',
|
|
|
|
|
|
+protocol: "testing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2078,7 +2078,7 @@ $globals.HLNavigationCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "methodContents",
|
|
selector: "methodContents",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2107,7 +2107,7 @@ $globals.HLNavigationCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "methodContents:",
|
|
selector: "methodContents:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (aString){
|
|
fn: function (aString){
|
|
var self=this;
|
|
var self=this;
|
|
var $1;
|
|
var $1;
|
|
@@ -2128,7 +2128,7 @@ $globals.HLNavigationCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "previous",
|
|
selector: "previous",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return self;
|
|
return self;
|
|
@@ -2146,7 +2146,7 @@ $globals.HLNavigationCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "previous:",
|
|
selector: "previous:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (aWidget){
|
|
fn: function (aWidget){
|
|
var self=this;
|
|
var self=this;
|
|
return self;
|
|
return self;
|
|
@@ -2165,7 +2165,7 @@ $globals.HLNavigationCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "canBeOpenAsTab",
|
|
selector: "canBeOpenAsTab",
|
|
-protocol: 'testing',
|
|
|
|
|
|
+protocol: "testing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return false;
|
|
return false;
|
|
@@ -2183,7 +2183,7 @@ $globals.HLNavigationCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "on:",
|
|
selector: "on:",
|
|
-protocol: 'instance creation',
|
|
|
|
|
|
+protocol: "instance creation",
|
|
fn: function (aBrowserModel){
|
|
fn: function (aBrowserModel){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2207,11 +2207,11 @@ messageSends: ["browserModel:", "new", "yourself"]
|
|
$globals.HLNavigationCodeWidget.klass);
|
|
$globals.HLNavigationCodeWidget.klass);
|
|
|
|
|
|
|
|
|
|
-$core.addClass('HLBrowserCodeWidget', $globals.HLNavigationCodeWidget, ['browserModel'], 'Helios-Workspace');
|
|
|
|
|
|
+$core.addClass("HLBrowserCodeWidget", $globals.HLNavigationCodeWidget, ["browserModel"], "Helios-Workspace");
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "browserModel",
|
|
selector: "browserModel",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return self["@browserModel"];
|
|
return self["@browserModel"];
|
|
@@ -2229,7 +2229,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "browserModel:",
|
|
selector: "browserModel:",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (aBrowserModel){
|
|
fn: function (aBrowserModel){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2255,7 +2255,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "observeBrowserModel",
|
|
selector: "observeBrowserModel",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2333,7 +2333,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "observeSystem",
|
|
selector: "observeSystem",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2357,7 +2357,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onBrowserAboutToChange:",
|
|
selector: "onBrowserAboutToChange:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
var block;
|
|
var block;
|
|
@@ -2397,7 +2397,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onClassSelected:",
|
|
selector: "onClassSelected:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
var class_;
|
|
var class_;
|
|
@@ -2434,7 +2434,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onCompileError:",
|
|
selector: "onCompileError:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2458,7 +2458,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onInstVarAdded",
|
|
selector: "onInstVarAdded",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2482,7 +2482,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onMethodModified:",
|
|
selector: "onMethodModified:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
var method;
|
|
var method;
|
|
@@ -2542,7 +2542,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onMethodSelected:",
|
|
selector: "onMethodSelected:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
var method;
|
|
var method;
|
|
@@ -2579,7 +2579,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onPackageSelected:",
|
|
selector: "onPackageSelected:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
var package_;
|
|
var package_;
|
|
@@ -2616,7 +2616,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onParseError:",
|
|
selector: "onParseError:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
var lineIndex,newContents;
|
|
var lineIndex,newContents;
|
|
@@ -2703,7 +2703,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onProtocolSelected:",
|
|
selector: "onProtocolSelected:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2745,7 +2745,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onSaveIt",
|
|
selector: "onSaveIt",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2769,7 +2769,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onShowInstanceToggled",
|
|
selector: "onShowInstanceToggled",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2811,7 +2811,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onShowTemplate:",
|
|
selector: "onShowTemplate:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2835,7 +2835,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onSourceCodeFocusRequested",
|
|
selector: "onSourceCodeFocusRequested",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2859,7 +2859,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onSourceCodeSaved",
|
|
selector: "onSourceCodeSaved",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2884,7 +2884,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "onUnknownVariableError:",
|
|
selector: "onUnknownVariableError:",
|
|
-protocol: 'reactions',
|
|
|
|
|
|
+protocol: "reactions",
|
|
fn: function (anAnnouncement){
|
|
fn: function (anAnnouncement){
|
|
var self=this;
|
|
var self=this;
|
|
var error;
|
|
var error;
|
|
@@ -2934,7 +2934,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "refresh",
|
|
selector: "refresh",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -2967,7 +2967,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "renderButtonsOn:",
|
|
selector: "renderButtonsOn:",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (html){
|
|
fn: function (html){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3011,7 +3011,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "saveIt",
|
|
selector: "saveIt",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3035,7 +3035,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "unregister",
|
|
selector: "unregister",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3078,7 +3078,7 @@ $globals.HLBrowserCodeWidget);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "canBeOpenAsTab",
|
|
selector: "canBeOpenAsTab",
|
|
-protocol: 'testing',
|
|
|
|
|
|
+protocol: "testing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return false;
|
|
return false;
|
|
@@ -3096,7 +3096,7 @@ $globals.HLBrowserCodeWidget.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "on:",
|
|
selector: "on:",
|
|
-protocol: 'instance creation',
|
|
|
|
|
|
+protocol: "instance creation",
|
|
fn: function (aBrowserModel){
|
|
fn: function (aBrowserModel){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3120,11 +3120,11 @@ messageSends: ["browserModel:", "new", "yourself"]
|
|
$globals.HLBrowserCodeWidget.klass);
|
|
$globals.HLBrowserCodeWidget.klass);
|
|
|
|
|
|
|
|
|
|
-$core.addClass('HLWorkspace', $globals.HLWidget, ['codeWidget', 'transcript'], 'Helios-Workspace');
|
|
|
|
|
|
+$core.addClass("HLWorkspace", $globals.HLWidget, ["codeWidget", "transcript"], "Helios-Workspace");
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "canHaveFocus",
|
|
selector: "canHaveFocus",
|
|
-protocol: 'testing',
|
|
|
|
|
|
+protocol: "testing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return true;
|
|
return true;
|
|
@@ -3142,7 +3142,7 @@ $globals.HLWorkspace);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "codeWidget",
|
|
selector: "codeWidget",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3172,7 +3172,7 @@ $globals.HLWorkspace);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "focus",
|
|
selector: "focus",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3195,7 +3195,7 @@ $globals.HLWorkspace);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "renderContentOn:",
|
|
selector: "renderContentOn:",
|
|
-protocol: 'rendering',
|
|
|
|
|
|
+protocol: "rendering",
|
|
fn: function (html){
|
|
fn: function (html){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3230,7 +3230,7 @@ $globals.HLWorkspace);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "renderTranscriptOn:",
|
|
selector: "renderTranscriptOn:",
|
|
-protocol: 'rendering',
|
|
|
|
|
|
+protocol: "rendering",
|
|
fn: function (html){
|
|
fn: function (html){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3277,7 +3277,7 @@ $globals.HLWorkspace);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "transcript",
|
|
selector: "transcript",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3307,7 +3307,7 @@ $globals.HLWorkspace);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "unregister",
|
|
selector: "unregister",
|
|
-protocol: 'actions',
|
|
|
|
|
|
+protocol: "actions",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
@@ -3343,7 +3343,7 @@ $globals.HLWorkspace);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "canBeOpenAsTab",
|
|
selector: "canBeOpenAsTab",
|
|
-protocol: 'testing',
|
|
|
|
|
|
+protocol: "testing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return true;
|
|
return true;
|
|
@@ -3361,7 +3361,7 @@ $globals.HLWorkspace.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "tabClass",
|
|
selector: "tabClass",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return "workspace";
|
|
return "workspace";
|
|
@@ -3379,7 +3379,7 @@ $globals.HLWorkspace.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "tabLabel",
|
|
selector: "tabLabel",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return "Workspace";
|
|
return "Workspace";
|
|
@@ -3397,7 +3397,7 @@ $globals.HLWorkspace.klass);
|
|
$core.addMethod(
|
|
$core.addMethod(
|
|
$core.method({
|
|
$core.method({
|
|
selector: "tabPriority",
|
|
selector: "tabPriority",
|
|
-protocol: 'accessing',
|
|
|
|
|
|
+protocol: "accessing",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return (10);
|
|
return (10);
|