Page 1 of 1

Latest Scintilla...

Posted: Mon Aug 01, 2011 12:10 pm
by DoubleDutch
If anyone wants them, these are 2 links to the latest version of Scintilla on Windows.

Updated to V2.2.8 using vc6 (most compatible version):
http://ɯoɔ.com/downloads/scintilla.zip

Updated to V2.2.8 using vs2010 and using Direct2D for output - only Vista and Win7:
http://ɯoɔ.com/downloads/scintilla_ddraw.zip

The ddraw version has much smoother text - you can also turn off Scintilla double buffering as ddraw does that by itself. No need to do it twice...

Does anyone know how to use the latest Scintilla with PB on OSX? I think the built-in to PB one is quite old and has bugs that are fixed in the official one, also lots of new features have been added.

Re: Latest Scintilla...

Posted: Tue Aug 02, 2011 12:05 pm
by Polo
IIRC Fred & Freak did their own port of Scintilla to OSX Carbon, before there was an official OSX scintilla version (though I'm not even sure there is an "official" one).
There are a few bugs in PB's OSX version, but it's "fine" overall, although the lack of editing cursor is quite disturbing at first.

Re: Latest Scintilla...

Posted: Tue Aug 02, 2011 2:44 pm
by DoubleDutch
Here is the latest info about OSX from the Scintilla mailing list:
On OS X, the primary platform layer is changing from Carbon (in the
macosx directory) to Cocoa. There have been bug fixes and
functionality improvements to the Cocoa code. There was no response to
a recent request for Carbon users so the Carbon platform layer will be
dropped from the next release unless there is interest in retaining
and maintaining it.
Other than this, the OSX version has the same features/api as the Windows version.

Re: Latest Scintilla...

Posted: Tue Aug 02, 2011 3:03 pm
by Polo
Ok so we need to wait that Cocoa is supported by Purebasic (which anyway is high priority for PB Mac IMO, as there are quite a few things that do not work correctly or do not look standard (toolbars, status bar, buttons, ...)

Re: Latest Scintilla...

Posted: Tue Aug 02, 2011 3:48 pm
by DoubleDutch
With regard to the direct2d version, you should first check to see is d2d1.dll exists at #CSIDL_SYSTEMX86 - if so then load the direct2d version, else the normal version...

Re: Latest Scintilla...

Posted: Tue Aug 02, 2011 3:58 pm
by DarkDragon
DirectDraw or Direct2D? There is a difference! DirectDraw is very old, Direct2D is too new for many systems.

Re: Latest Scintilla...

Posted: Tue Aug 02, 2011 4:10 pm
by DoubleDutch
Direct2D (Some Vista, and all Win7)... I've edited the 1st post...