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
7
demo/kitchen-sink/docs/international.md
Normal file
7
demo/kitchen-sink/docs/international.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
Pinyin Simplified
|
||||
-----------------
|
||||
反对方山东队但是上
|
||||
|
||||
Thai
|
||||
----
|
||||
อักษรไทย
|
||||
Loading…
Add table
Add a link
Reference in a new issue