Page 1 of 1

Using Ligatures In the IDE (Scintilla.dll problem)

Posted: Sat Feb 25, 2023 5:29 pm
by novablue
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:

Code: Select all

SendMessage_(Val(GetEnvironmentVariable("PB_TOOL_Scintilla")), #SCI_SETTECHNOLOGY, #SC_TECHNOLOGY_DIRECTWRITE, 0)
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.

Re: Using Ligatures In the IDE (Scintilla.dll problem)

Posted: Sat Feb 25, 2023 9:40 pm
by ccode_new
I think it's a matter of getting used to it.

Personally, I like the normal font display better.

For example, when I see this image, I personally don't want to use "ligatures".

Image

But I can't help you at the moment.

I still find the topic interesting because I've never heard/read anything about such usable "ligatures".