It is currently Thu Oct 29, 2020 11:41 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 290 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20
Author Message
 Post subject: Re: GoScintilla - 2.7 (Purebasic 4.5 onwards)
PostPosted: Wed Jun 28, 2017 6:50 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1682
Use the debugging tools to see where your bottleneck is; you may be duplicating commands.

I have opened a benchmark file with 100,000's of lines of code and lexed it in about 10-30 seconds (been too long to remember exactly) using a slow laptop and a lexing similar to the PB IDE. It did turn out slower than the PB IDE, but only a small amount. It was about 1/2 or maybe 2/3 the speed of Notepad++. Anybody using a file large enough to see the difference is kind of crazy.


Top
 Profile  
Reply with quote  
 Post subject: Re: GoScintilla - 2.7 (Purebasic 4.5 onwards)
PostPosted: Sun Mar 10, 2019 2:31 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jul 07, 2013 11:35 am
Posts: 546
Location: Canada
Hello everyone,

I have converted the srod's original code into a module. The source code can be downloaded from this link :
https://www.dropbox.com/s/7sp972ifdc34qtn/GoScintilla%20-%20Module.zip?dl=0

Edit #1 : InitScintilla() for Windows Added
Edit #2 : Bug correction

Best regards
StarBootics

_________________
The Stone Age did not end due to a shortage of stones !


Last edited by StarBootics on Mon Mar 11, 2019 12:01 am, edited 3 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: GoScintilla - 2.7 (Purebasic 4.5 onwards)
PostPosted: Sun Mar 10, 2019 2:11 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 767
Location: Nottinghamshire UK
Hi Starbootics InitScintilla() missing from example code
Thanks Zebuddi. :)

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: GoScintilla - 2.7 (Purebasic 4.5 onwards)
PostPosted: Tue May 05, 2020 4:30 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 6259
Location: Wales, UK
Hi Starbotics

Your GoScintilla Module - which version of GoScintilla is it based on? This forum post is about v2.7 but the most recent version, a bug fixer, is v3.1.

Edit: Only ASCII for Syntax Keywords? That sounds strange.

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: GoScintilla - 2.7 (Purebasic 4.5 onwards)
PostPosted: Sun May 10, 2020 2:12 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jul 07, 2013 11:35 am
Posts: 546
Location: Canada
IdeasVacuum wrote:
Hi Starbotics

Your GoScintilla Module - which version of GoScintilla is it based on? This forum post is about v2.7 but the most recent version, a bug fixer, is v3.1.

Edit: Only ASCII for Syntax Keywords? That sounds strange.


I think it's based on the 2.7 version but I'm not sure about that. Where is the download link for the version 3.1 ?

Best regards
StarBootics

_________________
The Stone Age did not end due to a shortage of stones !


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 290 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20

All times are UTC + 1 hour


Who is online

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