Page 13 of 104

Posted: Fri Mar 17, 2006 3:28 am
by GeoTrail
Goodie, thanks gnozal :)

Posted: Fri Mar 17, 2006 4:28 am
by chen
Hi Gnozal,

Could you make jaPBe select constants and variable string names totally
when one dobleclick on them?

what I want to say?

in PB IDE: #PB_Event_CloseWindow and string$

in jaPBe: #PB_Event_CloseWindow and string$

I make a lost of mistakes because of this.... its no vital, but
when you have a chance...

Maybe I can change some parameter and I dont know.... :wink:

thanks for make jaPBe an important player.....

Posted: Fri Mar 17, 2006 8:24 am
by dige
@Gnozal: what kind of changes are related to 'Folding'? Because,
'fold all' is very slow right now.
Seems there are a lot of unnecessarily updates in the backround ...

And the 'fold all' does not work correkt anymore ... it leaves some open.

Posted: Fri Mar 17, 2006 9:08 am
by gnozal
dige wrote:@Gnozal: what kind of changes are related to 'Folding'?
Complete folding markers like SciTE or PBIDE (and not only the arrow like in old jaPBe)
dige wrote:'fold all' is very slow right now. etc...
I changed some things in '(Un)Fold all' because of some reports of 'freezing'. I will change some things back. Difficult to fix things when I cannot reproduce them.
dige wrote:And the 'fold all' does not work correkt anymore ... it leaves some open.
Can't reproduce it.
Anyway, I uploaded a new version : can you please test the folding issues ?

Posted: Fri Mar 17, 2006 9:09 am
by gnozal
Update

Fixed (I hope) some '(Un)Fold All' issues (again).

Posted: Fri Mar 17, 2006 9:12 am
by gnozal
chen wrote:Could you make jaPBe select constants and variable string names totally when one dobleclick on them?
I am not sure I can do this without breaking some more important things... Difficult to manage a big source (with many includes) like jaPbe without beeing the author.

Posted: Fri Mar 17, 2006 9:15 am
by dige
gnozal wrote: Anyway, I uploaded a new version : can you please test the folding issues ?
Thx gnozal, '(Un)Fold All' works now correct, but still much slower than older versions.

Posted: Fri Mar 17, 2006 9:22 am
by gnozal
dige wrote:
gnozal wrote: Anyway, I uploaded a new version : can you please test the folding issues ?
Thx gnozal, '(Un)Fold All' works now correct, but still much slower than older versions.
It's because of the additional markers I think ; I must admit I never thought about the folding stuff when I added them. I will see if can speed the folding up.

Posted: Fri Mar 17, 2006 9:30 am
by Dare2
Hi gnozal,

Just posting to say you're doing an awesome job with this!

Posted: Fri Mar 17, 2006 10:46 am
by gnozal
Dige special edition and for all folding fans :wink:

'Folding all' should be faster now.

What did I change : old jaPBe was checking for each Open/Close folding marker if there was a matching End folding marker (to avoid folding errors). This was time consuming. I replaced it with a test before '(un)folding all' : jaPBe V3 now just checks if count(Open/Close markers) = count(End markers) and refuses to fold if the markers don't match.

Please test for speed and issues.

Posted: Fri Mar 17, 2006 11:43 am
by dige
Hmmmmmm, now I cant 'Fold All' any more, got this nice message of
dismatching markers...
But I can't find any differences...

Starting an old jaPBe version, returns the smile to me. Folding works
accurately as I expects.

I'll try to create a source example ... thus you can reproduce it ...

Posted: Fri Mar 17, 2006 12:01 pm
by gnozal
dige wrote:Hmmmmmm, now I cant 'Fold All' any more, got this nice message of
dismatching markers...
But I can't find any differences...
That's strange, a source example would help.
About the message :
Matching markers wrote:

Code: Select all

Procedure Titi()
  
  
EndProcedure


Enumeration
  
EndEnumeration

Procedure TOTO()
  
  
  Procedure Titi2()
    
    Procedure Titi3()
      
      
    EndProcedure
    
  EndProcedure
  
  
  Procedure Titi4()
    
    
  EndProcedure
  
  
EndProcedure
NOT Matching markers wrote:

Code: Select all

Procedure Titi()
  
  
EndProcedure


Enumeration
  
EndEnumeration

Procedure TOTO()
  
  
  Procedure Titi2()
      
    EndProcedure
    
  EndProcedure
  
  
  Procedure Titi4()
    
    
  EndProcedure
  
  
EndProcedure
You may have some forgotten non matching manual markers like ;{ or ;} ? Else I don't understand how you can have a compilable source with non matching markers.
I could make the check optional.

Posted: Fri Mar 17, 2006 1:21 pm
by dige
I've checked all ;{ ;} markers ... there are all correct. So, I have no
idea why a working code have different counts of markers then.

Posted: Fri Mar 17, 2006 1:32 pm
by yrret
Thanks for your effort on improving jaPBe gnozal, and for uploading new
versions. But I have a quick question. Do I just download the same file on
your web site to get the lastest and greatest. Or do you have another site
location for newer test versions. It would be nice if you could possibly 'date
mark' files that were updated, so you would know which ones you really need
to download. Thanks for your effort and also for providing your fine site.

Posted: Fri Mar 17, 2006 1:38 pm
by dige
allways the same link