Page 1 of 1

Some more IDE things...

Posted: Wed Feb 22, 2006 8:19 pm
by Michael Vogel
Just a couple of things I regognized (not really bugs, but maybe ideas for the future):

* loading files slows down extremly when folding is enabled
* menus entries with sub menus (Error Log, External Help,...) are not justified correctly
* dialog buttons do no have shortcuts (e.g "alt-a" for "replace all" in the find&replace dialog)
* source file names with "&" are displayed incorrect in the tab (DT_NOPREFIX is not used) and recent files menu
* variable and procedure lists could be alphabetic to be more usable

Re: Some more IDE things...

Posted: Wed Feb 22, 2006 9:12 pm
by PB
> variable and procedure lists could be alphabetic to be more usable

Variables already are alphabetic. Procedure lists can be made alphabetic in
the prefs (ToolsPanel section -> Procedure Browser -> Sort procedures by name).

Re: Some more IDE things...

Posted: Sat Feb 25, 2006 10:10 am
by Michael Vogel
PB wrote:> variable and procedure lists could be alphabetic to be more usable

Variables already are alphabetic. Procedure lists can be made alphabetic in
the prefs (ToolsPanel section -> Procedure Browser -> Sort procedures by name).
Thanks, didn't see that!

What I investigated now, is that the time consuming loading of files when folding is enabled (x_lib.pb takes about 2 minutes!) will take horrible long, if you add some addition folding keywords (I added If/Endif, While/Wend, Repeat/Until and the combination "; Define" / "; EndDefine" for being able to fold the initial (global) variable definitions)

Something else, markers (F2) are not seen, if a folding box is present on that line.

Re: Some more IDE things...

Posted: Sat Feb 25, 2006 11:57 am
by PB
> markers (F2) are not seen, if a folding box is present on that line

Hehe, I noticed this today too... I was hitting CTRL+F2 over and over, trying
to get a marker set there. I ended up putting the marker on the line above.

Re: Some more IDE things...

Posted: Sat Feb 25, 2006 12:19 pm
by gnozal
Michael Vogel wrote:What I investigated now, is that the time consuming loading of files when folding is enabled (x_lib.pb takes about 2 minutes!) will take horrible long, if you add some addition folding keywords (I added If/Endif, While/Wend, Repeat/Until and the combination "; Define" / "; EndDefine" for being able to fold the initial (global) variable definitions)
I have just tested that (only with the basic folding options) : the PB IDE freezes a long time on this one (but sometimes it is faster and sometimes it is slower ?!).
For your information x_lib.pb (219320 bytes) loads in about 3 secondes on the same machine (an old PII-300MHz / WinNT4) with jaPBe V3 (with the new folding options, and there is much more folding than the basic PB IDE settings).

Posted: Sat Feb 25, 2006 8:53 pm
by blueznl
ah so this is what's screwing up codecaddys' reformat function! could this be fixed please?

Posted: Sat Feb 25, 2006 9:05 pm
by Berikco
blueznl wrote:ah so this is what's screwing up codecaddys' reformat function! could this be fixed please?

Sure, use this

Code: Select all

FormatHarddiksNow(#Raptor, #PB_Burn)
:twisted:

Posted: Sat Feb 25, 2006 9:08 pm
by blueznl
not my raptor! not AGAIN my raptor! :-)

Re: Some more IDE things...

Posted: Mon Feb 27, 2006 8:56 am
by Michael Vogel
Michael Vogel wrote:Just a couple of things I regognized (not really bugs, but maybe ideas for the future):

* loading files slows down extremly when folding is enabled
* menus entries with sub menus (Error Log, External Help,...) are not justified correctly
* dialog buttons do no have shortcuts (e.g "alt-a" for "replace all" in the find&replace dialog)
* source file names with "&" are displayed incorrect in the tab (DT_NOPREFIX is not used) and recent files menu
* variable and procedure lists could be alphabetic to be more usable
Beside the speed issues when using folding, are the other points also seen in your environments?

Additional informations to the menu alignment:
- the popup menu (when pressing the right key in the IDE) shows one entry (External Help) some ticks more left than all others.
- this effect is also seen on all other menu entries with sub menus
- this effetc is also seen on all self configured Tools

Additional information about folding
- nested folds (procedure ... if ... endif ... endprocedure) would need two different open fold commands: "open this fold only" and "open this fold and all below"
- the line marker (arrow) can't be seen under a fold marker, maybe a colored box (instead or around) the arrow would help

Michael