The linked one is always very old, which is why I usually use the dll for my personal programs.
You'll have to look for examples of how to link in a dll of you want to use one. There is a whole library of PB commands for dll's. There will also be helper code here so you don't have to define all of the libraries yourself. Just search older stuff, maybe look for scintilla editor and DeclareDLL or whatever the command is.
Oh, yeah... Three scintilla library didn't have all of the lexers available in the dll. I don't know if Fred's changed that recently, but you had to use a dll to get those anyway, unless you wanted to make a static library yourself to link those in.