Mercurial > repos > tabletprog
comparison editor.tp @ 28:93bbc4c8be95
Allow selection of lambda
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 05 Apr 2012 19:06:10 -0700 |
parents | 4d87c38404d6 |
children | 18cec540238a |
comparison
equal
deleted
inserted
replaced
27:ae913b642040 | 28:93bbc4c8be95 |
---|---|
115 isLambda: ((symtable find: sym) def) | 115 isLambda: ((symtable find: sym) def) |
116 } | 116 } |
117 popInscope: syms | 117 popInscope: syms |
118 } | 118 } |
119 | 119 |
120 lambdaClick <- :domnode astnode { | |
121 symbolClick: domnode astnode | |
122 } | |
123 | |
120 main <- { | 124 main <- { |
121 //bind handlers for file browser links | 125 //bind handlers for file browser links |
122 each: (qall: "a") :idx el { | 126 each: (qall: "a") :idx el { |
123 el onclick!: :event { | 127 el onclick!: :event { |
124 link <- foreign: this | 128 link <- foreign: this |