Open fjakobs opened 13 years ago
This includes non monospace fonts and asian characters
Any updates on this?
I have it in an experimental branch. It doesn't support soft wrap yet and has some issues with tab characters but otherwise it works very well already.
Will it be fixed to one line-height, or is it possible to allow multiple line-heights in the document?
variable line height is currently not planned.
Are there any plans to continue work on this feature in the (near-ish) future?
not in next 2-3 months.
Thanks @fjakobs , it worked beautifully with different font families.
This has been biting us at Wikipedia -- we're using ace to do on-site editing of Lua, JavaScript etc which may include localized text in all sorts of languages.
I've updated @fjakobs 's older patch to run on current ace master: https://github.com/ajaxorg/ace/pull/1608
Appears to work for me in some ad-hoc testing.
For handy testing, here's a (temporary) live copy built from the pull req: https://brionv.com/misc/demo/ace/build/kitchen-sink.html
Any progress with this bug?
Any news on this feature?
We'd really love to see this merged in; it looks like potentially @brion or @fjakobs 's branches have workarounds for variable width characters. I also believe #1797, #1153 and #1961 are duplicates of this ticket.
Steps to recreate: paste this text into an ACE editor and cursor around, you'll see the cursor will land in the middle of the double-wide characters such as the roman numerals.
ⅠⅡⅢⅣⅤⅰⅱⅲⅳⅴ ᠠᠡᠢᠣᠤᠥᠦᠧᠨᠩ ༐༑༒༓༔༕༖༗༘༙ بةتثجحخد
Screenshot:
Hi, what's status of this issue? Can we be of any help?
@honzajavorek the latest version of somewhat working attempt to fix this issue is in #2002, it's still not ready to merge, and wrapping support may require major changes.
+1
I am trying to create a Tamil language text editor and I too ran into this issue. The cursor should move across letters+diacritics whenever I press the arrow keys. But instead it moves for each letter and each diacritic making it useless. Are there any plans to fix this issue ? I can give a sample HTML file to explain my problem if you need.
Still having this problem under certain special conditions with Chrome... Works well on a site, bugs on another.
Still having trouble entering both Chinese and English together. Chinese characters are all monospaced, but 1 Chinese character is like 2 ASCII monospaced characters in width.
Does Ace currently work with variable width Latin character set (i.e. English and Spanish)?
We are having issue with Thai characters and some other similar languages too, So +1 please :)
+1 (using ACE version 1.2.8)
Since 2011 any updates?
Any updates on this?
Does anyone know if there is a workaround for this? I would like to use a variable width typeface in the editor.
@zky829 workaround is to use codeMirror. There. I've said it.
Any news on this?
+1
+1
CM2 does it by measuring the actual text and not a generic string.
https://github.com/marijnh/CodeMirror2/blob/master/lib/codemirror.js#L1209 @gissues:{"order":41.6149068322984,"status":"backlog"}