It is currently Sat May 25, 2013 2:24 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 273 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 19  Next
Author Message
 Post subject: Re: GoScintilla - 2.0
PostPosted: Fri May 07, 2010 6:31 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Armoured wrote:
Srod, the link for GoScintilla 2.0 doesn't work.
Please correct it.



Thanks


Please read the damn thread.

:twisted:

When you are done, then please read the thread in the general section.

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0
PostPosted: Fri May 07, 2010 6:46 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Apr 27, 2010 3:20 pm
Posts: 115
Location: Wales, United Kingdom
This is brilliant! :) Nicely done!

_________________
Image

.: Windows 7 Professional (32bit) :: Linux Mint 12 (32bit & 64bit) :.


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0
PostPosted: Fri May 07, 2010 10:32 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Jan 26, 2004 11:39 am
Posts: 288
Location: ITALY
srod wrote:
Armoured wrote:
Srod, the link for GoScintilla 2.0 doesn't work.
Please correct it.



Thanks


Please read the damn thread.

:twisted:

When you are done, then please read the thread in the general section.


General section?


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0
PostPosted: Sat May 08, 2010 11:03 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
http://www.purebasic.fr/english/viewtopic.php?f=7&t=42139

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 2)
PostPosted: Tue May 11, 2010 1:15 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
GoScintilla 2.0 (beta 2) - 11th May 2010

GoScintilla 2, beta 2 (read, attempt 2!) represents a significant improvement over beta 1 which of course was my first attempt to bring some much needed functionality to the original GoScintilla. We now have code-completion, nested call-tips, bookmarks and auto-indentation.

Beta 1 fell apart (as demonstarted by that swine ts-soft! :wink: ) on call-tips and my original implementation fell way short of being useful. Beta 2 corrects that and addresses all of the immediate shortcomings highlighted by that cursed ts-soft! Beta 2 also comes with a completely updated manual (though it may be a little rough around the edges at this moment!)

However, whereas GoScintilla 2 beta 1 would break some existing GoScintilla applications, beta 2 has gone three steps further in that regard and breaks all existing GoScintilla apps! As much a pain for myself as anyone else, so all complaints in this respect will be duly ignored! :wink:

GoScintilla 2 is now, effectively, a completely different animal to the original GoScintilla and whilst most existing apps can be converted across quite easily, I have expended absolutely no effort within the new manual (or anywhere else for that matter) discussing how you might best proceed with any such upgrades. Instead, I point you to the numerous demo programs, some of which I had to upgrade myself etc.

GoScintilla 2 has been tested on XP, Vista (x86) and, courtesy of that swine ts-soft, also tested on Ubuntu 10.04 x64. Most of the new facilities offered by GoScintilla 2 will not work under MacOS.

See the "History.txt" file for a complete list of changes that underpin GoScintilla 2 and remember that GoScintilla 2 will compile with PB 4.5 only.

Please see the nxSoftware site for the download.

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 2)
PostPosted: Tue May 11, 2010 1:58 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Jun 28, 2003 12:01 am
Posts: 349
Tested the demo "BlockCommentStyler.pb" and found a bug with the folding:

Start of the program and scroll down a little bit:
Image

After folding the first section:
Image

cu, helpy

_________________
Windows 8 / Windows 7 / Windows XP (als VM)
PB Last Final / Last Beta Testing


Last edited by helpy on Fri May 21, 2010 7:35 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 2)
PostPosted: Tue May 11, 2010 3:08 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Confirmed.

It is not just the fold symbols missing, but the syntax styling has disappeared as well!

I'll take a look.

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 3)
PostPosted: Tue May 11, 2010 3:49 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
@helpy : turns out this bug affected the original GoScintilla as well! It was a bugger to track down. :) Thanks for the report.

=======================

GoScintilla 2.0 (beta 3) - 11th May 2010

GoScintilla 2, beta 3 fixes the bug reported above by Helpy.

Please see the nxSoftware site for the download.

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 3)
PostPosted: Tue May 11, 2010 3:59 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 4715
Location: Berlin - Germany
thx for beta 3
Image
works like a pig :mrgreen:


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 3)
PostPosted: Tue May 11, 2010 9:03 pm 
Online
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 2:49 pm
Posts: 348
srod, could you fix version 1 and tell me in wich procedure the bug is located if possible? i'm using it in a big project and moving to version 2 will require a big rework.


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 3)
PostPosted: Tue May 11, 2010 9:58 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Justin wrote:
srod, could you fix version 1 and tell me in wich procedure the bug is located if possible? i'm using it in a big project and moving to version 2 will require a big rework.


Done.

Download again and check you have version 1.1.

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 3)
PostPosted: Wed May 12, 2010 10:52 pm 
Online
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 2:49 pm
Posts: 348
Thanks, it works great.
About code folding, suppose i have a code like this:
Code:
function test()
{
   if (a==1)
   {
      //do something
   }

   while (x==2)
   {
      //do something
   }
}

it is possible to fold only the function and not the if/else , while? Basically i would like to fold only function or class declarations but not the rest of the clausules.


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 3)
PostPosted: Wed May 12, 2010 11:26 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
If you mean that you wish the folding markers to appear only on the braces denoting the function block and to not appear on the other types of brace... then no, this is not possible through some ready made GoScintilla settings.

You should be able to achieve this, however, with the aid of a user-defined line styling function. You can get GoScintilla to style the document and use your own line styler to simply look out for your own folding keywords etc. and increase/decrease the fold-level as appropriate. Make sure that you do not mark the '{' and '}' symbols as open-fold and close-fold keywords though because you do not want GoScintilla's code folding logic to interfere with your own.

Have a look at the "Multiword.pb" demo (advanced demos) to get some idea of how to set about this.

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 3)
PostPosted: Thu May 13, 2010 11:03 pm 
Online
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 2:49 pm
Posts: 348
My line styling function is the one used in your BlockcommentStylerII.pb demo wich is very complex, i have no idea of where to place the code, i tried several things. It would be very difficult for you to make an example with that styling function?


Top
 Profile  
 
 Post subject: Re: GoScintilla - 2.0 (beta 3)
PostPosted: Fri May 14, 2010 11:34 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Justin wrote:
My line styling function is the one used in your BlockcommentStylerII.pb demo wich is very complex, i have no idea of where to place the code, i tried several things. It would be very difficult for you to make an example with that styling function?


Yes, I really haven't the time to mess around with that demo. It does use a complex line styler as you say. Honestly, I have spent too much time on GoScintilla 2 and, bugs aside, need to move on.

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 273 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 19  Next

All times are UTC + 1 hour


Who is online

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