-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use DOM to find string widths
CodeMirror no longer has a concept of 'character width', since that was just too broken -- tabs and non-ascii characters can have non- standard widths, even in monospace fonts. We now build up a DOM structure and measure its width whenever we have to determine the width of something.
- Loading branch information
Showing
1 changed file
with
49 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters