Mercurial > repos > tabletprog
comparison src/editor.tp @ 105:35006a6e1c47
Fixed more editor coderot and improved syntax/selection coloring a bit.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 11 Apr 2013 09:16:35 -0700 |
parents | 648659961e0e |
children | 152b6cfb98b6 |
comparison
equal
deleted
inserted
replaced
104:648659961e0e | 105:35006a6e1c47 |
---|---|
74 }) | 74 }) |
75 } | 75 } |
76 } | 76 } |
77 | 77 |
78 symbolClick <- :domnode astnode event { | 78 symbolClick <- :domnode astnode event { |
79 console log: astnode | |
80 selectNode: domnode | 79 selectNode: domnode |
81 popInscope: ((astnode symbols) allSymbols) onClick: :key { | 80 popInscope: ((astnode symbols) allSymbols: (foreign: undefined)) onClick: :key { |
82 domnode textContent!: key | 81 domnode textContent!: key |
83 astnode name!: key | 82 astnode name!: key |
84 } | 83 } |
85 event stopPropagation | 84 event stopPropagation |
86 } | 85 } |