jaPBe 3.13.4 [IDE for PB 4 and PB 5]

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post 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
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
ozzie
Enthusiast
Enthusiast
Posts: 443
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Post 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.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

JaPBe Scrollbar position not updated when source is loaded

Post 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 .
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Should be fixed in build 801.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post 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.
Check out OOP support for PB here!
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post 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?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
klaver
Enthusiast
Enthusiast
Posts: 147
Joined: Wed Jun 28, 2006 6:55 pm
Location: Schröttersburg

Post 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
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
klaver
Enthusiast
Enthusiast
Posts: 147
Joined: Wed Jun 28, 2006 6:55 pm
Location: Schröttersburg

Post 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?
Post Reply