jaPBe 3.13.4 [IDE for PB 4 and PB 5]

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

Moderator: gnozal

User avatar
Le Soldat Inconnu
Enthusiast
Enthusiast
Posts: 306
Joined: Wed Jul 09, 2003 11:33 am
Location: France

Re: jaPBe 3.11.6 [IDE for PB 4.xx]

Post by Le Soldat Inconnu »

Another bug :

in option, in "project" tab
i check option "request user mode on Vista"
i press OK
close jaPBe
launch jaPBe
look in option and "request user mode on Vista" is not checked.

I think you don't save this value in preferences.

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

Re: jaPBe 3.11.6 [IDE for PB 4.xx]

Post by gnozal »

Le Soldat Inconnu wrote:Another bug :
...
I think you don't save this value in preferences.
Should be fixed in build 856
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Demivec
Addict
Addict
Posts: 4090
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: jaPBe 3.11.6 [IDE for PB 4.xx]

Post by Demivec »

jaPBe provides a menu option for 'Compiler/Purifier' and a shortcut key to use it. However it can only be activated with the shortcut key and not by selecting the menu option.

Here is a short 2 line code that contains an obvious problem that can be used to demonstrate this:

Code: Select all

a = AllocateMemory(1)
PokeS(a, "bbbbbbbbbbbbb")
The purifier only activates when pressing Shift+F6 and not from the menu option.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.11.6 [IDE for PB 4.xx]

Post by gnozal »

Demivec wrote:jaPBe provides a menu option for 'Compiler/Purifier' and a shortcut key to use it. However it can only be activated with the shortcut key and not by selecting the menu option.
Should be fixed in build 857.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
LCD
Enthusiast
Enthusiast
Posts: 206
Joined: Sun Jun 01, 2003 10:55 pm
Location: Austria, Vienna
Contact:

Re: jaPBe 3.11.6 [IDE for PB 4.xx]

Post by LCD »

Feature :wink: : Sometimes the search function ignore "exclude comments" option, especialy in folded parts which are unfolded for first time after loading, by the search function itself. On second rerun anything works fine.
Another Feature I found is that search does not expand foldings if the found string is in the first line (and so protected from changing).
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
dige
Addict
Addict
Posts: 1252
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: jaPBe 3.11.6 [IDE for PB 4.xx]

Post by dige »

Click on button "Select Source" (top right corner):
Fatal error !

An attemped read or write to/from an address to which that process isn't allowed
Address: 0
Line: 28366
Module : C:\PureBasic394\Program\jaPBeForPB400\CUT.jaPBe.pb
ErrorNumber : -1073741819

I will try to save the sourcecode.
Another problem is that jaPBe after every code change, reloads all panel items like "proc", "book", etc.
This results in longer codes to significant delays.
Maybe you can restrict the update to only necessary things? Or is it possible to prevent (disable/enable)
the update by pressing a specified key...
"Daddy, I'll run faster, then it is not so far..."
ozzie
Enthusiast
Enthusiast
Posts: 429
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Re: jaPBe 3.11.6 [IDE for PB 4.xx]

Post by ozzie »

Don't know if this is possible, or if I'm missing something and the feature's already available, but one thing I miss from using VB6 is the ability to find/replace within the current procedure - much easier than having to select all the lines in the procedure and then 'replace in selection'. Also, in VB6 I could navigate through procedures using Ctrl/UpArrow and Ctrl/DownArrow. Very handy. Any chance of implementing these features in jaPBe?
User avatar
Tenaja
Addict
Addict
Posts: 1949
Joined: Tue Nov 09, 2010 10:15 pm

Line spacing & speed

Post by Tenaja »

I'm trying out jaPBe again, so I have a couple questions...

I have both the PB IDE and jaPBe set to Courier, 10 point. However, when I set the window heights to match, the PB IDE fits 75 lines but jaPBe only fits 61. Is there a Line Spacing setting so the lines have less space between them?

Secondly, if I page-down through my 6k-line file in the PB IDE, it takes about one second to make it. However, with japbe, it can take 10, up to 30 seconds or more. It is especially slow the first time, and after that randomly stops scrolling here and there. Am I missing a setting? I've got a "modern" low-power laptop with dual core (not Atom) and 4GB RAM. Can I speed up the IDE?

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

Re: Line spacing & speed

Post by gnozal »

Tenaja wrote:I have both the PB IDE and jaPBe set to Courier, 10 point. However, when I set the window heights to match, the PB IDE fits 75 lines but jaPBe only fits 61. Is there a Line Spacing setting so the lines have less space between them?
There isn't, sorry.
Tenaja wrote:Secondly, if I page-down through my 6k-line file in the PB IDE, it takes about one second to make it. However, with japbe, it can take 10, up to 30 seconds or more. It is especially slow the first time, and after that randomly stops scrolling here and there. Am I missing a setting? I've got a "modern" low-power laptop with dual core (not Atom) and 4GB RAM. Can I speed up the IDE?
JaPBe scans the whole file the first time it loads.
I have no problems myself with a 1.71 Mb source file.
Try deactivating some syntax coloring options.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
X
Enthusiast
Enthusiast
Posts: 311
Joined: Tue Apr 04, 2006 6:27 am

Re: jaPBe 3.11.6 [IDE for PB 4.xx]

Post by X »

I like the check to make sure the compiler is 32bit :) Shame though, I was hoping for a nice editor for 64bit compiler. No plans, right?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.11.6 [IDE for PB 4.xx]

Post by gnozal »

X wrote:I like the check to make sure the compiler is 32bit :) Shame though, I was hoping for a nice editor for 64bit compiler. No plans, right?
Nope.
However, the source code is available ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DirkJes
New User
New User
Posts: 4
Joined: Thu Aug 11, 2011 12:41 pm
Location: Bergheim/Erft, Germany

Re: jaPBe 3.11.8 [IDE for PB 4.xx]

Post by DirkJes »

Hi PB-friends, i need your help:

I have two probs with " joystick.pbi "...

1. in structure joy_old_status there are 2x axisz.l declared (I commented one; right?)

2. i get the error "joy_status_() is not declared." (asm off) or the error "can't use an asm keyword for an affectation." (asm on) in procedure examine_joy(JoyID). (...and yes, i restarted the compiler ;-)

I'm using jaPBe V3 (3.11.6.856 - G P I/gnozal) - PB4.51 (original version) at Win7HomePremium64bit, but in this case PB 32bit version.

Thanks for help! :)
PureBasic 5.61 / Win7 Pro 64bit & Ubuntu 16.04 /w MATE 1.12.1
Image
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.11.8 [IDE for PB 4.xx]

Post by gnozal »

DirkJes wrote: 1. in structure joy_old_status there are 2x axisz.l declared (I commented one; right?)
2. i get the error "joy_status_() is not declared." (asm off) or the error "can't use an asm keyword for an affectation." (asm on) in procedure examine_joy(JoyID). (...and yes, i restarted the compiler ;-)
Hi DirkJes,
I made some changes in 'joystick.pbi' and updated the jaPBe package.
However, I am not the author of the include (from 2004?) and I have no joystick, so I do not know if it will run as intended.
At least there is no compiler error anymore...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DirkJes
New User
New User
Posts: 4
Joined: Thu Aug 11, 2011 12:41 pm
Location: Bergheim/Erft, Germany

Re: jaPBe 3.11.8 [IDE for PB 4.xx]

Post by DirkJes »

It works. Great. Thanks. :D
PureBasic 5.61 / Win7 Pro 64bit & Ubuntu 16.04 /w MATE 1.12.1
Image
ozzie
Enthusiast
Enthusiast
Posts: 429
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Re: jaPBe 3.11.8 [IDE for PB 4.xx]

Post by ozzie »

Whenever I install a new version of jaPBe I lose my indentation preferences and have to restore Syntax\jaPBe_Indentation.pref from my backup drive. Can you change the instaler so that the file is only created if needed, thereby preserving any existing changes to the indentation preferences?
Post Reply