It is currently Fri Jan 15, 2021 3:12 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 88 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Oct 28, 2010 12:12 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
DoubleDutch wrote:
That's a shame - any ideas when that was implemented - I'll add the last working dll to my app and load that if the 'openlibrary' fails.
The last 'all windows' compatible Scintilla is 2.02.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Oct 28, 2010 12:48 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 31, 2006 4:34 am
Posts: 541
DoubleDutch
I know it's not related to the topic but '
:?:
Quote:
http://ɯoɔ.com/downloads/scintilla.zip
:?:
The link is good, but how does one enter something like this manually?
I've never seen a link written like this before.


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Oct 28, 2010 1:30 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3164
Location: United Kingdom
I don't think you can enter it manually... ;)

What do you think of the domain name?

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Oct 28, 2010 1:41 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Aug 11, 2009 1:56 pm
Posts: 858
Location: Essen (Germany)
DoubleDutch wrote:
What do you think of the domain name?

¡ pǝǝpuǝ ǝɔıu ʎɹǝʌ 8)

_________________
Two growing code-collections: WinApi-Lib by RSBasic ~ LinuxAPI-Lib by Omi

Missing a download-file on the forums? ~ check out this backup page.


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 10:12 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
Update (PB4.5x version)

Changes :
- upgraded Scintilla to version 2.24 (thanks DoubleDutch !)
  Warning : due to some API calls like MonitorFromPoint(), Scintilla > 2.02 requires Win2000 as minimum OS.
  A (previous) version compatible with all Windows versions is still available : http://gnozal.ucoz.com/ScintillaStatic_450_v202.zip

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 12:04 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3164
Location: United Kingdom
Quote:
due to some API calls like MonitorFromPoint(), Scintilla > 2.02 requires Win2000 as minimum OS


If anyone wants to try help fix this, so we can get a scintilla.dll and library that works on all Windows OS then please get in touch.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 12:52 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5756
Location: Berlin - Germany
@DoubleDutch
can you compile a 64-bit static lib?

_________________
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: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 1:42 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3164
Location: United Kingdom
Sorry, I'm compiling it on an old version of Visual Studio (v2003) - so it is more 'compatible' with older systems - the latest VS doesn't.

If you join the Scintilla mail list, you could request it - I'm sure someone must have compiled it to x64. If you do get it, please send me a link. :)

IGNORE THIS, See message below! :D

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


Last edited by DoubleDutch on Thu Feb 03, 2011 1:56 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 1:56 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3164
Location: United Kingdom
I remembered that I have a vs2010 from the BizSpark system - Just booted up that machine and compiled with VS2010 command line x86, then again with command line x64. The files are different sizes so I think I've made a x64 version?

Here is the link to the zip that contains everything (vs2003 x64 vc6, vs2010x86 and vs2010x64 versions):
http://ɯoɔ.com/downloads/scintilla.zip

Please let me know how you get on.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 2:20 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5756
Location: Berlin - Germany
DoubleDutch wrote:
Please let me know how you get on.

The download includes all version as DLL with importlib for dll but no static lib of scintilla :?

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: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 2:53 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
ts-soft wrote:
DoubleDutch wrote:
Please let me know how you get on.

The download includes all version as DLL with importlib for dll but no static lib of scintilla :?
Thomas, a friend of mine works as a developer, and he has tools to 'convert' a DLL to a LIB.
That's how I get the static libraries (converting the DLLs compiled by DoubleDutch).
He has no tools to convert an x64 DLL, though.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 3:18 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3164
Location: United Kingdom
ts-soft: If you know of some instructions to compile a static lib for scintilla x64 then if you post a link I'll try my best to get you it.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 3:55 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5756
Location: Berlin - Germany
DoubleDutch wrote:
ts-soft: If you know of some instructions to compile a static lib for scintilla x64 then if you post a link I'll try my best to get you it.

thx, but this is a problem. I have do this before some years but in the moment i haven't a c++ compiler to do
this and no plan of settings.
If i doesn't find a solution, i can use memorymodule for this, there is no big difference to a dlltolib "static" lib :wink:

_________________
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: Re: Scintilla Static Library
PostPosted: Thu Feb 03, 2011 4:28 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4229
Location: Strasbourg / France
ts-soft wrote:
If i doesn't find a solution, i can use memorymodule for this, there is no big difference to a dlltolib "static" lib :wink:
Except that you can use the dlltolib "static" lib like any 'real' static library : you can use Import/ImportC/EndImport.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Scintilla Static Library
PostPosted: Sun Feb 20, 2011 2:11 am 
Offline
Addict
Addict

Joined: Sun Dec 12, 2010 12:36 am
Posts: 1642
Location: Somewhere in the midwest
Would this be suitable for part of my games GUI?

I have been researching the best method for implementing my main text display/window (Shows all the world information / output to the player), especially looking for cross platform solutions that will allow me to output colored/styled text in any combination I deem necesarry... (There seems to be so little documentation/info on how GUI/Windowed programs with standard "Console" output windows get that functionality, like most MUD clients that support ANSI/custom coloring, mIRC client with its colored text support, etc..)

It seems like a Scintilla gadget may be the way to go, as it supports syntax highlighting features, and apparently can do multiple Font styles and foreground/background colors (on the same line I think/hope?). I was considering an EditorGadget but getting text colored like that looks like an involved process, that may not be cross-platform.. I also considered a WebGadget, and constantly reloading an HTML file with the new updated data but I have doubts that it will function like I want (scroll up/down with a buffered screen history), or that the refreshing itself wouldn't introduce visual side effects...

Seems like Scintilla gadget may be what I'm looking for.. Not much is said about it in the PB Help except a short example on loading a Scintilla Gadget. However I'm not sure what the difference between what's included in PB and what's in this Static library is... i.e Why would I choose the library over PB's internal gadget?

How easy would it be to learn how to send the appropriate commands to such a Gadget, to color & style text as you wish, on the fly? And one concern I have is that so far all examples of Scintilla gadgets that I have seen, such as the PB Help demo code, and the PB Editor itself, all seem to have a horizontal scroll-bar by default, even when it isn't needed... Can I turn that off for sure?? I only need a vertical scroll-bar for my game, as the display will only buffer a small amount of history for the player to "Scroll back up" if they wanted to re-read something. Can it do word-wrapping once a "defined" width-boundary for the screen is reached?

Hope I'm on the right track with Scintilla :? I want to solve this issue early on even though the GUI is only going to be a skeleton for the time being... The only other option I can think of would be to open a windowed screen (from the 2D library?) on my main program window, and manually code the display buffer, word wrapping, and color parsing character by character.. It took me forever to get that far in Dark Basic when I had to do that.. :|

_________________
Image


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 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