ajaxorg/ace — pull request #673 by jcheng5 (2012-03-23 02:35:15+00:00)
Title: Patch/consistent gutter width

This patch changes the gutter auto-sizing behavior so that the gutter is always wide enough to display the largest line number. This eliminates the gutter resizing that currently happens as you merely scroll up and down in the document.

It also fixes a bug that causes Ace to freeze hard in certain conditions--essentially when lots of text is free-wrapping, and the gutter decides to resize, it's very easy to get into a situation where the renderloop's update call never returns. I can write up repro steps and additional analysis about that one if you decide not to accept this pull request.