Using Ligatures In the IDE (Scintilla.dll problem)
Posted: Sat Feb 25, 2023 5:29 pm
Hi, i have always been using ligatures in Purebasic using a font called Firacode and an older Scintilla.dll version 3.5.6.0 once downloaded from SciTe.
Using the following code run as a tool from the IDE successfully enables Ligatures support:
My main problem is enabling ligatures using the code above does not work with the Scintilla.dll that comes with Purebasic. So i am wondering if anyone knows how to enable ligatures with that version, maybe the code just needs to be changed a little?
It also seems like Purebasic uses a special compiled version of the dll, maybe someone knows where that version comes from and why ligatures don't work with it/how to make them work?
I also tried updating to the latest Scintilla.dll version 5.3.3.0 from SciTe but then code folding and indentations do not work properly anymore in the IDE.
Any help would be appreciated, this is something i really don't want to code without and that it only works with an older dll anymore worries me for the future.
Using the following code run as a tool from the IDE successfully enables Ligatures support:
Code: Select all
SendMessage_(Val(GetEnvironmentVariable("PB_TOOL_Scintilla")), #SCI_SETTECHNOLOGY, #SC_TECHNOLOGY_DIRECTWRITE, 0)
It also seems like Purebasic uses a special compiled version of the dll, maybe someone knows where that version comes from and why ligatures don't work with it/how to make them work?
I also tried updating to the latest Scintilla.dll version 5.3.3.0 from SciTe but then code folding and indentations do not work properly anymore in the IDE.
Any help would be appreciated, this is something i really don't want to code without and that it only works with an older dll anymore worries me for the future.