Page 84 of 104

Posted: Sat Aug 22, 2009 10:34 am
by gnozal
Update

Changes :
- added custom toolbar buttons
  See 'Enable toolbar button' checkbox in 'Config Tools'.
  A button will be added to the jaPBe toolbar, so you may start the tool or plugin using the toolbar.
  You may select an executable (*.exe) or an icon file (*.ico) to define the displayed icon. If none, jaPBe will use a default icon.
  Note : user icons will only be displayed with a classic toolbar, i.e. only if Preferences -> Skin -> Use custom drawn toolbar is disabled.
- manual updated

Posted: Mon Aug 24, 2009 9:07 pm
by nicolaus
@gnozal

can you take a look at this post http://www.purebasic.fr/english/viewtopic.php?t=38761 and check wyh it works not with jaPBe?

Thanks

Posted: Tue Aug 25, 2009 7:35 am
by gnozal
nicolaus wrote:can you take a look at this post http://www.purebasic.fr/english/viewtopic.php?t=38761 and check wyh it works not with jaPBe?
Nothing new : http://www.purebasic.fr/english/viewtopic.php?t=29171
If ErrorFile() returns "PB_EditorOutput2.pb", it's your main file. Just a little extra test in your error handler and it's done.

Posted: Fri Aug 28, 2009 7:30 am
by ozzie
gnozal,

jaPBe is a great program, but is there any reason why the manual is supplied as a .7z file and not a .zip file? I've just had to replace my computer and I never like installing software unnecessarily. On my previous computer I had some program (can't remember what) to extract the jaPBe manual from the .7z file, but that was the only use I ever made of that extract program.

Posted: Fri Aug 28, 2009 7:54 am
by gnozal
ozzie wrote:... is there any reason why the manual is supplied as a .7z file and not a .zip file?
7z is much more effective when it comes to the compression ratio, and 7-ZIP is one of the best compression tools, and it's free : http://www.7-zip.org
Note : many known archivers like WinRAR, IZArc, PeaZIP, etc... also handle 7z files.

JaPBe Scrollbar position not updated when source is loaded

Posted: Fri Aug 28, 2009 3:59 pm
by Demivec
When I load a source the scroll bar does not reflect the document position for the current line being shown. In other words, the source is displayed properly scrolled to it's former position but the scrollbar reflects an unscrolled position. The scrollbar will only reflect the true position if the cursor movement causes the source to scroll. This occurs for all sources that are loaded.

The scroll position can be moved with the scrollbar as usual without any problems.

I'm using build 3.9.8.798 .

Posted: Sat Aug 29, 2009 7:51 am
by gnozal
Should be fixed in build 801.

Posted: Sat Aug 29, 2009 7:16 pm
by inc.
Hi Gnozal,

don't know if this issue already has been posted.

Im using jaPBe on a testing Windows7 64bit environment using the PureBasic 64Bit installation.

It seems that the "find/replace" function doesn't work properly anymore.
For example, if my loaded Code contains a typical word like "Procedure" and I use "find/replace" to find now "procedure" within the code ... it won't be found anymore. No special setting is used like match case or whatever.

can you or someone duplicate that?

Merci,
Inc.

Posted: Mon Aug 31, 2009 7:33 am
by gnozal
inc. wrote:Im using jaPBe on a testing Windows7 64bit environment using the PureBasic 64Bit installation.
Hi Inc,
I don't have a 64 bit OS, but as jaPBe is a 32 bit executable I doubt it will work correctly with PBx64, and I am surprised that your find/replace problem is the only issue.
Do you use a unicode code page ? I am asking because jaPBe uses MultiByteToWideChar_() and WideCharToMultiByte_() in unicode mode in the find / replace module.

Posted: Mon Aug 31, 2009 12:40 pm
by nicolaus
gnozal wrote:
nicolaus wrote:can you take a look at this post http://www.purebasic.fr/english/viewtopic.php?t=38761 and check wyh it works not with jaPBe?
Nothing new : http://www.purebasic.fr/english/viewtopic.php?t=29171
If ErrorFile() returns "PB_EditorOutput2.pb", it's your main file. Just a little extra test in your error handler and it's done.
@gnozal
What youmean with " Just a little extra test in your error handler and it's done."?
Do you think it is no way that jaPBe works right like PB-IDE so that we get the right file name if we work with the OnError functions?

Posted: Mon Aug 31, 2009 1:00 pm
by gnozal
nicolaus wrote:What youmean with " Just a little extra test in your error handler and it's done."?
In your error handler, if ErrorFile() returns "PB_EditorOutput2.pb", the error occurred in your main file. And you know the name of your main file ...
nicolaus wrote:Do you think it is no way that jaPBe works right like PB-IDE so that we get the right file name if we work with the OnError functions?
The problem is : http://www.purebasic.fr/english/viewtopic.php?t=29171
Sure there is a way, for example change Compile.pbi to use only one temp file to compile (instead of two).

Posted: Tue Sep 01, 2009 4:12 am
by klaver
In Preferences -> Custom keywords / Aliases (possibly also in other places)
there are buttons labeled "<new>".
The event is fired just pressing after mouse button (WM_LBUTTONDOWN?), instead of performing a full click (down & up). It's not a proper behavior IMHO.

After clicking the button "Delete" a confirmation box pops up twice when choosing NO.


Can't get folding to work properly (no folding in loaded file).

Code: Select all

folding keyword /stored line mismatch ; folding canceled

Posted: Tue Sep 01, 2009 7:29 am
by gnozal
klaver wrote:In Preferences -> Custom keywords / Aliases (possibly also in other places)
there are buttons labeled "<new>". The event is fired just pressing after mouse button (WM_LBUTTONDOWN?), instead of performing a full click (down & up). It's not a proper behavior IMHO.
Should be fixed (build 803)
klaver wrote:After clicking the button "Delete" a confirmation box pops up twice when choosing NO.
Should be fixed (build 803)
klaver wrote:Can't get folding to work properly (no folding in loaded file).
Could you be more specific ?
Works here :
1. Preferences -> Custom keywords -> Check 'Enable'
2. Custom folding -> < new >
3. Key command = "TestFoldStart", select 'Fold start'
4. Press'Ok'
5. Custom folding -> < new >
6. Key command = "TestFoldEnd", select 'Fold end'
7. Press'Ok'
8. Preferences -> 'Ok'
You now have a folding keyword couple, TestFoldStart / TestFoldEnd.
No warning message when loading a file with these new keywords (folded or not), as long as these custom keywords are defined and 'Custom keywords -> Enable' is checked
If you have deleted these custom keywords, just save the source file with these keywords once and no warning anymore.

Posted: Tue Sep 01, 2009 8:37 am
by gnozal
Update (build 804)

Changes :
- changed the compilation procedure so that the error handler should report the correct file
  It's a big change so please report any side effects ...
- fixed issues reported by klaver

Posted: Sun Sep 06, 2009 1:54 am
by klaver
When I selected a PB command (GadgetID(), SetGadgetFont() etc.) and pressed F1 for help, the manual was opened with the selected function's description.
Now it does not.

Was removing this feature necessary? Do I have to downgrade to 3.8.8 for this?