Scintilla Static Library

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update
Changes :
- update for Win9x compatibility (thanks DoubleDutch)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

No problem. Sorry about the earlier mixup - I didn't know that Microsoft were determined to stop people writing for Win9x! (VS2008 will not write Win9x compatible code :( )
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

gnozal: Just noticed that the help file you generated is from Feb 2006. If you look at http://scintilla.sourceforge.net/ScintillaDoc.html there is much more up to date documentation.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update (all versions)

Changes :
- upgraded to Scintilla 1.78 (thanks DoubleDutch)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Thanks for the thanks... (and the update.) :)

Edit: Just noticed that the help is not the current V1.78 help - no text about 'annotations'. I know your busy, but I wondered if you forgot to include the right file?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

DoubleDutch wrote:Edit: Just noticed that the help is not the current V1.78 help - no text about 'annotations'.
The help should be up-to-date.
I don't have the sources for the help file, so I just updated the files in the CHM. You will find 'Annotations' in the 'Margins' topic.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I see it now. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

I just compiled jaPBe with the new 1.78 static scintilla library for PB3.94. I got some strange crashes, that disappear when I rollback to previous version.
So I don't recommend to use it.

I didn't test the PB4xx version much.

If the problems are confirmed I will upload the previous versions again.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I've not experienced any crashes with directly using the DLL - how did you make it go wrong and what happened so I can see if it happens on the DLL version...
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

DoubleDutch wrote:I've not experienced any crashes with directly using the DLL - how did you make it go wrong and what happened so I can see if it happens on the DLL version...
It's difficult to spot, most sources work, with some sources I get a crash in scintilla during first syntax coloring.
It also happens with both DLL (Scintilla and SciLexer).
And it's not your fault : it also crashes with the official SciLexer.dll !
It seems to crash during a SCI_HideLines() call. I will investigate ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I do colouring too, use indicators, styles, etc - no crashes (so far...).
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

It's strange. With some sources, if SCI_HideLines() is called after the file is loaded (to apply the folding), it crashes some time after.
I can't reduce the jaPBe source to an informative code snippet, all I know, is that if I comment the SCI_HideLines() call, no crash (but no folding). And both parameters are valid (= existing lines).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I don't do any folding. So it must be related to that?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

DoubleDutch wrote:I don't do any folding. So it must be related to that?
Yes, I think.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

The only thing that I can see thats been 'depreciated' to do with folding is:

SC_FOLDFLAG_BOX
SC_FOLDLEVELBOXHEADERFLAG
SC_FOLDLEVELBOXFOOTERFLAG
SC_FOLDLEVELCONTRACTED
SC_FOLDLEVELUNINDENT

I can (i think) create a version with the depreciated functions back in...
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply