Support variable-width text
Updated from 2011 patch by fjakobs:
36ebe6c496
* removes old double-width CJK handling
* replaces monospace assumptions with measurements of actual text
* appears to work for Latin, CJK, Thai, Malayalam in ad-hoc testing
* does NOT fully handle RTL text issues (Hebrew, Arabic)
Conflicts:
demo/kitchen-sink/doclist.js
lib/ace/edit_session.js
lib/ace/layer/text.js
lib/ace/virtual_renderer.js
This commit is contained in:
parent
08b88485c8
commit
bcba9bea6e
7 changed files with 159 additions and 40 deletions
|
|
@ -67,6 +67,7 @@ function makeHuge(txt) {
|
|||
|
||||
var docs = {
|
||||
"docs/javascript.js": {order: 1, name: "JavaScript"},
|
||||
"docs/international.md": "International Text",
|
||||
|
||||
"docs/latex.tex": {name: "LaTeX", wrapped: true},
|
||||
"docs/markdown.md": {name: "Markdown", wrapped: true},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue