It is currently Thu May 28, 2020 4:51 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 88 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Scintilla Static Library
PostPosted: Tue Aug 28, 2007 8:08 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
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

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Last edited by gnozal on Tue Aug 18, 2009 11:53 am, edited 13 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 28, 2007 10:30 am 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3140
Location: United Kingdom
Just tested the Lite version, appears to work fine on Vista.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 28, 2007 11:18 am 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
:D
no longer necessarily to update my version for PB4 :mrgreen:

I have test both and it works without problems!

thanks
Thomas

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 28, 2007 3:25 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 30, 2006 4:30 pm
Posts: 579
Location: Middle East
Thanks! :D

_________________

[Registered PB User since 2006]
[PureBasic 5.7][SpiderBasic 2.2] [Win 10 64bit]
[Intel i7 990x 4.20 Ghz] [18GB DDR3]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 30, 2007 3:50 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5755
Location: Berlin - Germany
@gnozal

can you give me a static lib (not userlib) of "ScintillaStaticFull", please :wink:

PB-Extensions not required

greetings
Thomas

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 31, 2007 9:28 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
ts-soft wrote:
@gnozal
can you give me a static lib (not userlib) of "ScintillaStaticFull", please :wink:

Check your PM.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 31, 2007 1:58 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
Update

- 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).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 31, 2007 7:41 pm 
Offline
Addict
Addict
User avatar

Joined: Mon May 26, 2003 3:07 pm
Posts: 1477
Location: Nantes
very nice

_________________
Imagewin8.1 x64 5.31 | IDE | PB plugin | Tools | Sprite | JSON | visual tool


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Oct 21, 2007 12:34 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Jun 09, 2003 10:08 pm
Posts: 665
Location: Nottingham
I am unable to install the PB4.0x Scintilla library.
The installer says:
Quote:
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?

_________________
Anthony Jordan


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Oct 21, 2007 1:08 am 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 02, 2004 1:20 pm
Posts: 1105
Location: Amphibios 9
akj wrote:
The installer says:
Quote:
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Oct 22, 2007 8:44 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
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.

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 13, 2007 12:59 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3140
Location: United Kingdom
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 13, 2007 1:08 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
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 ?

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 13, 2007 1:42 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3140
Location: United Kingdom
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).

_________________
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 13, 2007 2:05 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
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) ...

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 88 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye