Latest Scintilla...

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Latest Scintilla...

Post 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.
Last edited by DoubleDutch on Tue Aug 02, 2011 4:10 pm, edited 1 time in total.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Latest Scintilla...

Post 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.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Latest Scintilla...

Post 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.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Latest Scintilla...

Post 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, ...)
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Latest Scintilla...

Post 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...
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Latest Scintilla...

Post by DarkDragon »

DirectDraw or Direct2D? There is a difference! DirectDraw is very old, Direct2D is too new for many systems.
bye,
Daniel
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Latest Scintilla...

Post by DoubleDutch »

Direct2D (Some Vista, and all Win7)... I've edited the 1st post...
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply