Scintilla Static Library

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

Moderator: gnozal

eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Re: Scintilla Static Library

Post by eesau »

Zach wrote:Would this be suitable for part of my games GUI?
I'm afraid Scintilla isn't suitable for this as it's specifically an editing component. You will be much better off rolling your own framework using a screen or an image gadget. Or you might try using ncurses, which is specifically made for console-like output.
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Scintilla Static Library

Post by DoubleDutch »

Turn on word wrap is an easy way to get the scroll bar off. I manipulate the scintilla gadget all the time in my app, you shouldn't have a problem at all.
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:

Re: Scintilla Static Library

Post by gnozal »

Update (PB4.6x version)

Changes :
  - upgraded Scintilla to version 2.28 (thanks DoubleDutch !)
  - updated help file
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Re: Scintilla Static Library

Post by Tenaja »

gnozal wrote:Update (PB4.6x version)

Changes :
  - upgraded Scintilla to version 2.28 (thanks DoubleDutch !)
  - updated help file
gnozal,
What are the steps to turn the dll into the library? I have been struggling with my Scintilla code for several hours, ever since I installed PB's recent update, and also The Sci static lib... turns out I was previously using a newer version of Scintilla, and the static lib did not have all of the features. A quick test did not reveal the issues, but as I kept working, they kept showing up more and more. They all went away when I switched to the dll.

Anyway, I'd be more than happy to help keep this current. I like the static lib part, as long as it is current.

Thanks.
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Scintilla Static Library

Post by DoubleDutch »

3.xx is no longer compatible with older operating systems, I think that is why the old version of being used.
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:

Re: Scintilla Static Library

Post by gnozal »

Tenaja wrote:What are the steps to turn the dll into the library? I have been struggling with my Scintilla code for several hours, ever since I installed PB's recent update, and also The Sci static lib...
I am not doing it myself (I only do the PB lib).
A friend of mine is a developer, and he has a tool to transform a DLL into a static LIB (only 32 bits though).
So all we need is a Scintilla.dll and a SciLexer.dll compiled with maximum compatibility for older OS's.
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:

Re: Scintilla Static Library

Post by DoubleDutch »

There is a new 3.xx version of Scintilla going to be available shortly, I'll do a compilation - but as far as I know it won't work on Pre 2k machines, (it might not even work on 2k!!!)...
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:

Re: Scintilla Static Library

Post by gnozal »

DoubleDutch wrote:There is a new 3.xx version of Scintilla going to be available shortly, I'll do a compilation
Thanks.
DoubleDutch wrote:but as far as I know it won't work on Pre 2k machines, (it might not even work on 2k!!!)...
I may release the old (2.28) and new (3.x) version in the same bundle.
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:

Re: Scintilla Static Library

Post by DoubleDutch »

Thats what I do in my packed file. I have both, if one fails (3.xx) then I use the other (2.xx).
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Scintilla Static Library

Post by Fred »

I have compiled the last 3.1.0 version for the next PB version, and it still does work OK on Win95 as long you don't use the Direct2D backend.
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Re: Scintilla Static Library

Post by Tenaja »

Fred wrote:I have compiled the last 3.1.0 version for the next PB version, and it still does work OK on Win95 as long you don't use the Direct2D backend.
Great news, Fred; thank you.

When will this version be available?
Will we get the static library as "standard" for Windows now?
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Scintilla Static Library

Post by DoubleDutch »

That's really good news. Have you also updated the Mac version to the latest release too?
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:

Re: Scintilla Static Library

Post by DoubleDutch »

Gnozal: Scintilla 3.2 has been released today. I'll compile it for you later. :)

Fred, will you be putting this version into PureBasic? - it's a major release.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply