marijnh/CodeMirror2 — Issue #359: Dynamic display width for tabs
Author: areos
Created: 2012-02-06 09:34:03+00:00
State: open

Most text editors use a dynamic display width for tabs. CodeMirror 2.2 always displays tabs the full size as defined in the tabSize option. For example:

Reference text without tabs:
`aaaabbbbccccddd`

Same text with one tab inserted instead of some characters in CodeMirror:
`aaa bb c dddd`

And finally the text with tabs as it should be (and is in most text editors):
`aaa bb c dddd`