ajaxorg/ace — pull request #866 by josh (2012-08-08 21:48:30+00:00)
Title: Defer gutter refresh until cursor is rendered

`setHighlightGutterLine` crashes if you try to call it immediately after initializing an editor.

``` js
editor = ace.edit(div)
editor.setHighlightGutterLine(false)
```

Fixes regression from 0e5b77763f6433137837d328c6edf38c6403bb56

This doesn't seem like a great fix though. My the cursor should be rendered sooner? Or maybe the first line doesn't really even need to run if thats the case?