Compare commits

..

No commits in common. "fa8c3043d58e7d2a482f48017370d406a6c0f427" and "042c42f86b5189322d14c12db766e1c80ad7e407" have entirely different histories.

2 changed files with 6 additions and 12 deletions

View File

@ -1503,8 +1503,6 @@ var Outline = {
/* XXX not used -- do we need this?? /* XXX not used -- do we need this??
// XXX UPDATE_CODE_SIZE this is a no-op at this point -- do we need this??? // XXX UPDATE_CODE_SIZE this is a no-op at this point -- do we need this???
_updateCodeSize: function(code, view){ _updateCodeSize: function(code, view){
// XXX
return this
code.style.height = code.style.height =
getComputedStyle( getComputedStyle(
view view
@ -1693,9 +1691,12 @@ var Outline = {
state = state == 'next' ? state = state == 'next' ?
node.getAttribute('collapsed') != '' node.getAttribute('collapsed') != ''
: state : state
state ? if(state){
node.setAttribute('collapsed', '') node.setAttribute('collapsed', '')
: node.removeAttribute('collapsed') } else {
node.removeAttribute('collapsed')
for(var elem of [...node.querySelectorAll('textarea')]){
elem.updateSize() } }
this.__change__() this.__change__()
return node }, return node },
show: function(node='focused', offset){ show: function(node='focused', offset){
@ -2583,9 +2584,7 @@ var Outline = {
// give the browser a chance to update the DOM... // give the browser a chance to update the DOM...
// XXX revise... // XXX revise...
setTimeout(function(){ setTimeout(function(){
that.runPlugins('__editedcode__', evt, that, elem) that.runPlugins('__editedcode__', evt, that, elem) }, 0) }
// this will resize the text to fill the available area...
elem.style.removeProperty('height') }, 0) }
that.runPlugins('__focusout__', evt, that, elem) }) that.runPlugins('__focusout__', evt, that, elem) })
// update .code... // update .code...

View File

@ -48,11 +48,6 @@ var setup = function(){
- -
- ## Bugs: - ## Bugs:
focused:: true focused:: true
- BUG: cursor placement is off again...
- ```
text text text
```
text text text (a click here is offset right by an odd amount of chars)
- BUG: styling error... - BUG: styling error...
- this _seems `to` work_ - this _seems `to` work_
- `while` _this `does` not_ - `while` _this `does` not_