Page 1 of 6
Scintilla Static Library
Posted: Tue Aug 28, 2007 8:08 am
by gnozal
Scintilla Static Library (last update : NOV 7th 2012)
Scintilla versions :
PB3.94 library
ScintillaStaticLite : 2.02
PB4.0x - PB4.5x libraries
ScintillaStaticFull : 2.02
ScintillaStaticLite : 2.02
PB4.5x libraries
ScintillaStaticFull : 2.24
ScintillaStaticLite : 2.24
PB4.6x+ libraries
ScintillaStaticFull : 2.28
ScintillaStaticLite : 2.28
PB5.0x libraries
ScintillaStaticFull : 2.28
ScintillaStaticLite : 2.28
The purpose of this library is to use the new PB4.10+ ScintillaGadget with a static scintilla library (.lib) instead of a dynamic one (.dll).
It also works with CreateWindowEx_().
How to use
Replace the genuine function "InitScintilla(ScintillaDLLPath.s)" with InitScintillaStaticLite() or InitScintillaStaticFull().
That's it !
InitScintillaStaticLite() -> use 'lite' scintilla library [without all the lexers, like the PB Scintilla.dll]
InitScintillaStaticFull() -> use 'full' scintilla library [like the Scite SciLexer.dll]
Download
Only available for Purebasic Windows x86
Scintilla 2.02 : (supports all Windows versions)
PB3.94 :
http://gnozal.ucoz.com/ScintillaStatic.zip
PB4.3x :
http://gnozal.ucoz.com/ScintillaStatic_430.zip
PB4.4x :
http://gnozal.ucoz.com/ScintillaStatic_440.zip
PB4.5x :
http://gnozal.ucoz.com/ScintillaStatic_450_v202.zip
Scintilla 2.22 :
PB4.5x :
http://gnozal.ucoz.com/ScintillaStatic_450.zip
Scintilla 2.28 :
PB4.6x :
http://gnozal.ucoz.com/ScintillaStatic_460.zip
PB5.0x :
http://gnozal.ucoz.com/ScintillaStatic_500.zip
Posted: Tue Aug 28, 2007 10:30 am
by DoubleDutch
Just tested the Lite version, appears to work fine on Vista.
Posted: Tue Aug 28, 2007 11:18 am
by ts-soft
no longer necessarily to update my version for PB4
I have test both and it works without problems!
thanks
Thomas
Posted: Tue Aug 28, 2007 3:25 pm
by JCV
Thanks!

Posted: Thu Aug 30, 2007 3:50 pm
by ts-soft
@gnozal
can you give me a static lib (not userlib) of "ScintillaStaticFull", please
PB-Extensions not required
greetings
Thomas
Posted: Fri Aug 31, 2007 9:28 am
by gnozal
ts-soft wrote:@gnozal
can you give me a static lib (not userlib) of "ScintillaStaticFull", please

Check your PM.
Posted: Fri Aug 31, 2007 1:58 pm
by gnozal
Update
- added PB3.94 library (tested with a special jaPBe build)
- updated PB4.xx library (added scintilla help file)
Posted: Fri Aug 31, 2007 7:41 pm
by eddy
very nice
Posted: Sun Oct 21, 2007 12:34 am
by akj
I am unable to install the PB4.0x Scintilla library.
The installer says:
Install library to E:\Basic Compilers\PureBasic V4\PureBasic.exe
but surely the 'PureBasic.exe' should not be part of the foldername, but the installer gives me no option to change it.
Anyway, all 5 components of the package are reported as ERROR and nothing is installed.
What is going wrong?
Posted: Sun Oct 21, 2007 1:08 am
by Kiffi
akj wrote:The installer says:
Install library to E:\Basic Compilers\PureBasic V4\PureBasic.exe
but surely the 'PureBasic.exe' should not be part of the foldername, but the installer gives me no option to change it.
Anyway, all 5 components of the package are reported as ERROR and nothing is installed.
What is going wrong?
strange... same on my system (Installing to: "D:\Programme\PureBasic\PureBasic.exe") with PureFILE_.zip.
And i thought, my system was broken...
Greetings ... Kiffi
Posted: Mon Oct 22, 2007 8:44 am
by gnozal
It's because the PB folder registry string changed with PB4.10beta4, and although I have fixed it in the lib installer source, I did not compiled it yet nor updated the archives on my site ... Will do ...
Anyway, note that the installer is a self-extracting ZIP archive, so you can open it with any archiver.
Posted: Tue Nov 13, 2007 12:59 pm
by DoubleDutch
Gnozal, will you be able to do an update of your lib with the new 1.75 version of Scintilla? The RC is now available and it's most likely there will be no more changes. Some major problems have been fixed in that version. PM me if you need the location of the RC.

Posted: Tue Nov 13, 2007 1:08 pm
by gnozal
DoubleDutch wrote:Gnozal, will you be able to do an update of your lib with the new 1.75 version of Scintilla? The RC is now available and it's most likely there will be no more changes. Some major problems have been fixed in that version. PM me if you need the location of the RC.

I'd rather wait for the final version.
And I don't know if I will succeed with V1.75, I had a lot of PoLink errors before I got V1.73 to work.
Btw, what are the new features in V1.75 ?
Posted: Tue Nov 13, 2007 1:42 pm
by DoubleDutch
Here are the changes (windows) from 1.73 to 1.74...
# Indicators changed to be a separate data structure allowing more indicators. Storing indicators in high bits of styling bytes is deprecated and will be removed in the next version.
# Unicode support extended to all Unicode characters not just the Basic Multilingual Plane.
# Performance improved on wide lines by breaking long runs in a single style into shorter segments.
# Performance improved by caching layout of short text segments.
# Caret may be displayed as a block.
# Dragging does not start until the mouse has been dragged a certain amount. This stops spurious drags when just clicking inside the selection.
# Bug fixed where brace highlight not shown when caret line background set.
# Bug fixed when many font names used.
# Bug fixed with SCI_LINETRANSPOSE on a blank line.
# Bug on Windows fixed by examining dropped text for Unicode even in non-Unicode mode so it can work when source only provides Unicode or when using an encoding different from the system default.
and from 1.754 to 1.75...
* Invalid bytes in UTF-8 mode are displayed as hex blobs. This also prevents crashes due to passing invalid UTF-8 to platform calls.
* Indentation guides enhanced to be visible on completely empty lines when possible.
* The horizontal scroll bar may grow to match the widest line displayed.
* Allow autocomplete popups to appear outside client rectangle in some cases.
* When line state changed, SC_MOD_CHANGELINESTATE modification notification sent and margin redrawn.
* Folding performance improved.
* On Windows versions that support Unicode well, Scintilla is a wide character window which allows input for some less common languages like Armenian, Devanagari, Tamil, and Georgian. To fully benefit, applications should use wide character calls.
* SCI_DELWORDRIGHTEND added for closer compatibility with GTK+ entry widget.
* The styling buffer may now use all 8 bits in each byte for lexical states with 0 bits for indicators.
* Bug fixed where setting background colour of calltip failed.
* Bug fixed when showing selection with a foreground colour change which highlighted an incorrect range in some positions.
* Cut now invokes SCN_MODIFYATTEMPTRO notification.
* Bug fixed where caret not shown at beginning of wrapped lines. Caret made visible in some cases after wrapping and scroll bar updated after wrapping.
* Modern indicators now work on wrapped lines.
I've "bolded" the things that effect my stuff the most, I consider them to be the most important changes.
As you can see there have been quite a few fixes since 1.73, quite a few of them 'causes crashes.
If Fred/Freak reads this then they may like to know (if they didn't already) that there is an official OSX port of Scintilla now (since 1.74).
Posted: Tue Nov 13, 2007 2:05 pm
by gnozal
DoubleDutch wrote:I've "bolded" the things that effect my stuff the most, I consider them to be the most important changes.

I wonder if these styling bytes changes may brake the jaPBe syntax highlighting code ?!!
DoubleDutch wrote:As you can see there have been quite a few fixes since 1.73, quite a few of them 'causes crashes.
In my experience apps using scintilla like jaPBe (or PureFORM) do not crash that much (due to Scintilla bugs) ...