orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
636 stars 38 forks source link

Bug: subscript character error #431

Closed humphreylee closed 1 year ago

humphreylee commented 1 year ago

Encountered issue to load subscript character in the latest/nightly version. See screenshot below. On the left windows is textadept, while on the right is another editor. Appreciate your assistance. Thanks.

textadept_subscript

orbitalquark commented 1 year ago

To the right of the statusbar is the current buffer encoding. Is it UTF-8?

humphreylee commented 1 year ago

Yes, it is. Below are snippet of my codes and screenshot with bottom statusbar. The same symbol in comment is displayed properly. sample julia file

textadept2

FYI, I use Fira Code font.

view:set_theme('dark', {font = 'Fira Code', size = 11})
orbitalquark commented 1 year ago

Ah, I see. The Julia lexer is to blame here. If you change the lexer to plain text or another lexer, the subscripts show up just fine. Thanks for the report. I'll look into this when I have time.

humphreylee commented 1 year ago

Thanks. I will leave this bug report open until the issue is fixed - OK?

orbitalquark commented 1 year ago

Fixed via https://github.com/orbitalquark/scintillua/commit/304cff3ff3536b0ba757969a3e06a1072cc6a913 and should be in the next nightly build.