Scintilla Static Library
Moderator: gnozal
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Scintilla Static Library
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
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
Last edited by gnozal on Tue Aug 18, 2009 11:53 am, edited 13 times in total.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- DoubleDutch
- Addict
- Posts: 3219
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
no longer necessarily to update my version for PB4
I have test both and it works without problems!
thanks
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
@gnozal
can you give me a static lib (not userlib) of "ScintillaStaticFull", please
PB-Extensions not required
greetings
Thomas
can you give me a static lib (not userlib) of "ScintillaStaticFull", please
PB-Extensions not required
greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Check your PM.ts-soft wrote:@gnozal
can you give me a static lib (not userlib) of "ScintillaStaticFull", please
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Update
- added PB3.94 library (tested with a special jaPBe build)
- updated PB4.xx library (added scintilla help file)
- added PB3.94 library (tested with a special jaPBe build)
- updated PB4.xx library (added scintilla help file)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
I am unable to install the PB4.0x Scintilla library.
The installer says:
Anyway, all 5 components of the package are reported as ERROR and nothing is installed.
What is going wrong?
The installer says:
but surely the 'PureBasic.exe' should not be part of the foldername, but the installer gives me no option to change it.Install library to E:\Basic Compilers\PureBasic V4\PureBasic.exe
Anyway, all 5 components of the package are reported as ERROR and nothing is installed.
What is going wrong?
Anthony Jordan
strange... same on my system (Installing to: "D:\Programme\PureBasic\PureBasic.exe") with PureFILE_.zip.akj wrote:The installer says:but surely the 'PureBasic.exe' should not be part of the foldername, but the installer gives me no option to change it.Install library to E:\Basic Compilers\PureBasic V4\PureBasic.exe
Anyway, all 5 components of the package are reported as ERROR and nothing is installed.
What is going wrong?
And i thought, my system was broken...
Greetings ... Kiffi
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
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.
Anyway, note that the installer is a self-extracting ZIP archive, so you can open it with any archiver.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- DoubleDutch
- Addict
- Posts: 3219
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
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.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
I'd rather wait for the final version.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.
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 ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- DoubleDutch
- Addict
- Posts: 3219
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
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).
# 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).
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
I wonder if these styling bytes changes may brake the jaPBe syntax highlighting code ?!!DoubleDutch wrote:I've "bolded" the things that effect my stuff the most, I consider them to be the most important changes.
In my experience apps using scintilla like jaPBe (or PureFORM) do not crash that much (due to Scintilla bugs) ...DoubleDutch wrote:As you can see there have been quite a few fixes since 1.73, quite a few of them 'causes crashes.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).