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.
GoScintilla - 2.7 (Purebasic 4.5 onwards)
- StarBootics
- Addict
- Posts: 984
- Joined: Sun Jul 07, 2013 11:35 am
- Location: Canada
Re: GoScintilla - 2.7 (Purebasic 4.5 onwards)
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/7sp972ifdc34q ... e.zip?dl=0
Edit #1 : InitScintilla() for Windows Added
Edit #2 : Bug correction
Best regards
StarBootics
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/7sp972ifdc34q ... e.zip?dl=0
Edit #1 : InitScintilla() for Windows Added
Edit #2 : Bug correction
Best regards
StarBootics
Last edited by StarBootics on Mon Mar 11, 2019 12:01 am, edited 3 times in total.
The Stone Age did not end due to a shortage of stones !
- Zebuddi123
- Enthusiast
- Posts: 794
- Joined: Wed Feb 01, 2012 3:30 pm
- Location: Nottinghamshire UK
- Contact:
Re: GoScintilla - 2.7 (Purebasic 4.5 onwards)
Hi Starbootics InitScintilla() missing from example code
Thanks Zebuddi.
Thanks Zebuddi.
malleo, caput, bang. Ego, comprehendunt in tempore
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: GoScintilla - 2.7 (Purebasic 4.5 onwards)
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.
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.
If it sounds simple, you have not grasped the complexity.
- StarBootics
- Addict
- Posts: 984
- Joined: Sun Jul 07, 2013 11:35 am
- Location: Canada
Re: GoScintilla - 2.7 (Purebasic 4.5 onwards)
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 ?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.
Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !