Page 3 of 6

Posted: Mon Apr 07, 2008 9:21 am
by gnozal
Update
Changes :
- update for Win9x compatibility (thanks DoubleDutch)

Posted: Mon Apr 07, 2008 10:15 am
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 :( )

Posted: Sun Apr 13, 2008 3:07 pm
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.

Posted: Tue May 12, 2009 7:44 am
by gnozal
Update (all versions)

Changes :
- upgraded to Scintilla 1.78 (thanks DoubleDutch)

Posted: Tue May 12, 2009 7:51 am
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?

Posted: Tue May 12, 2009 9:24 am
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.

Posted: Tue May 12, 2009 10:29 am
by DoubleDutch
I see it now. :)

Posted: Tue May 12, 2009 11:49 am
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.

Posted: Tue May 12, 2009 12:56 pm
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...

Posted: Tue May 12, 2009 2:39 pm
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 ...

Posted: Tue May 12, 2009 2:55 pm
by DoubleDutch
I do colouring too, use indicators, styles, etc - no crashes (so far...).

Posted: Tue May 12, 2009 3:04 pm
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).

Posted: Tue May 12, 2009 4:02 pm
by DoubleDutch
I don't do any folding. So it must be related to that?

Posted: Tue May 12, 2009 4:04 pm
by gnozal
DoubleDutch wrote:I don't do any folding. So it must be related to that?
Yes, I think.

Posted: Tue May 12, 2009 6:02 pm
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...