diff --git a/src/editor.coffee b/src/editor.coffee index faf4a8aaa..9742d75f1 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -707,7 +707,7 @@ class Editor extends View # Listen for overflow events to detect when the editor's width changes # to update the soft wrap column. - updateWidthInChars = _.debounce((=> @setWidthInChars()), 1) + updateWidthInChars = _.debounce((=> @setWidthInChars()), 100) @scrollView.on 'overflowchanged', => updateWidthInChars() if @[0].classList.contains('soft-wrap')