Closed KOLANICH closed 6 years ago
I have integrated the new constants and added a snippet showing how to use them on wiki
I can recognize the difference between them and I like the default one :).
In fact the default one has drawback - ligatures, such as in Fira Code, don't work. Maybe so does kerning, so there should be differences. It's a shame that NPP doesn't have the switch in the settings built-in. That snippet is just a port of the lua one.
Also the script throws an exception. require
doesn't work correctly. At least on my system. To test it I had to open all the dependencies in editor, select everything but require and run the selection.
What error do you get? Did you compare the implementation of require in start.js
What error do you get?
I'll test tommorow.
Did you compare the implementation of require in start.js
In fact I don't remember. I did some tests (if I remember right, I have even temporarely replaced my forked version with the version from this repo), but I don't remember well.
I have checked. That was my fault. I have screwed up some things. Now they are fixed.
Here is the script enabling better font rendering (needed to make ligatures and kerning work)
1 I guess the enums from it should be added into Scintilla.js 2 I guess the script should be added into the repo
BTW: require causes error.