ajaxorg/ace — Issue #460: Support varying character widths 
Author: fjakobs
Created: 2011-10-11 08:52:28+00:00
State: open

CM2 does it by measuring the actual text and not a generic string.

https://github.com/marijnh/CodeMirror2/blob/master/lib/codemirror.js#L1209