## 2017-10-21 Code as UX


Align window topLeft 

```javascript
lively.moveBy(document.body, lively.getClientPosition(that).scaleBy(-1))
```

Expand window to browser height

```javascript
lively.setExtent(that, lively.getExtent(that).withY(window.innerHeight - 8))
```

Should we add this to the context menu?

### Spell checking?

- use a code mirror spell checker... https://github.com/sparksuite/codemirror-spell-checker


### Printing...

```

fetch(
  "http://localhost:9006/Lively4DevelopmentExperience/presentation/print.html",
  {
  method: "PUT",
  body: that.get("lively-markdown").shadowRoot.innerHTML
})
```
