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:
Brion Vibber 2013-09-15 11:09:23 -07:00 • committed by nightwing
commit bcba9bea6e
7 changed files with 159 additions and 40 deletions

View file

@ -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},

View file

@ -0,0 +1,7 @@
Pinyin Simplified
-----------------
反对方山东队但是上
Thai
----
อักษรไทย