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:

Re: TelePort

Post by gnozal »

RichardL wrote:I miss a feature that the editor for GFA Basic (RIP old friend) had; the ability to remember a location and return to it.
Hi Richard,

Do you know the existing 'store position' feature ?
SHIFT + F4 to store the position(s)
F4 to return to the position(s) [in reverse order]

So, using your example : ... press SHIFT + F4 to save a position in the code ... go do something else ... press F4 to go back.

Or am I missing something ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
RichardL
Enthusiast
Enthusiast
Posts: 532
Joined: Sat Sep 11, 2004 11:54 am
Location: UK

Post by RichardL »

Hi,
OK... so I missed it. Sorry; it has been a long day!

However, I would rather have a facility that allowed multiple returns to the same place.

Example:
Work at line 1000. Save line and cursor position by 'SHIFT magic key'
Move to line 2000
Magic key back to 1000
Go somewhere else...
Magic key back to 1000
Go somewhere else...
Magic key back to 1000


I guess much of my code is written by repeated copy/paste and also I often want to come back to the same calculation to make adjustments.

My suggested method would suit me very well :)

RichardL
Rico
New User
New User
Posts: 7
Joined: Wed Jan 25, 2006 11:16 am

Post by Rico »

Did you try a relative path, like "\PB\" instead of "c:\PB\", or even "..\" as PB path (assuming your jaPBe directory is in the PB directory) ?
Yes Gnozal, I tried it with relative path, but totally wrong. Excuse me please for this unnecessary one asks. Now, it works wonderfully.

Rico
ozzie
Enthusiast
Enthusiast
Posts: 443
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Post by ozzie »

Don't know if this has been mentioned before, but there's a minor bug in the JaPBe split window menu logic.

If I split the editor window and then want to copy and paste from the lower window to the upper window, I select the text I want to copy from the lower window, but the 'Copy' (and 'Cut') menu items are not enabled unless I have something selected in the upper window.

The converse is also true: if I have something selected in the upper window then the 'Copy' and 'Cut' menu items are enabled even if focus is in the lower window and nothing is selected in that window.

Just a minor inconvenience.

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

Post by gnozal »

ozzie wrote:Don't know if this has been mentioned before, but there's a minor bug in the JaPBe split window menu logic.
I agree.
I just can't make it work like it was supposed to. Probably some scintilla stuff I don't fully understand. Sorry.
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 716)

Changes :
- new menu item : 'Goto marker CTRL+F4'
Displays a list with the current memorized positions (using SHIFT+F4).
Select the position you would like to jump to with the mouse or the arrow keys and hit the 'Goto line' button or the 'Enter' key to jump.
Unlike the F4 function, the chosen position is not deleted from the stack after jump.
Note : if a marker points to the current carret position, it is not listed in the 'Goto marker' window (why would you want to jump to the current line ?)
- fixed debugger issue with relative pbcompiler path ('jaPBe portable')
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Rico
New User
New User
Posts: 7
Joined: Wed Jan 25, 2006 11:16 am

Post by Rico »

Sorry gnozal,

on the first gaze, it seems to work fine. But only 'Compile/Run' and 'Create Executable' works fine. When i try 'Compile/Debug' i see an Error-Message that "xxx\Compilers\PBDebugger.exe" can not find.
I have try now different situations ... jaPBe directory is in the PB directory, jaPBe directory is on the same plain as the PB directory. always the PBDebugger.exe ist not find, but Compile/Run and Create Executable works fine???
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Rico wrote:... When i try 'Compile/Debug' i see an Error-Message that "xxx\Compilers\PBDebugger.exe" can not find ...
Should be fixed in build 716 (I tried with '..\' as compiler path in Preferences).
Please download the latest release and report if it works (or not).
Thanks.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Rico
New User
New User
Posts: 7
Joined: Wed Jan 25, 2006 11:16 am

Post by Rico »

Thank you gnozal,

works fine, now. I tried jaPBe-directory in PB-directory, PB-directory in JaPBe-directory and PB-directory on the same plain as the jaPBe-directory.

Thanks
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

I can't read all that has been said before, therefore I hope nobody suggested that : could you delete the dock-icon ?
Next to the maximize/close/minimize icons on the topright ? The titlebar looks bad on Windows Vista with it, plus I'm not sure it can't be of any use ;)

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

Post by gnozal »

Polo wrote:I can't read all that has been said before, therefore I hope nobody suggested that : could you delete the dock-icon ?
Next to the maximize/close/minimize icons on the topright ? The titlebar looks bad on Windows Vista with it, plus I'm not sure it can't be of any use ;)
I have updated jaPBe.
You can enable / disable the 'stay on top' icons in 'Preferences' -> 'Editor 2' -> 'Add stay on top icons (restart needed)'
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Forgot to say thanks :oops:

Looks way much better now !

(still on the candy-style... is there someone who likes the custom toolbar :oops: ?
I find that really... weird, especially now I use Vista, it just doesn't look "right")

It's not a big issue, though if you have some time ;)
Thanks for improving this program, still the best !!! :)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- custom drawn toolbar can be disabled in Preferences -> Skin (it is replaced by a 'classic' toolbar)
- contextual autocompletion now also works for user defined structures, with some restrictions :
[1] It does not work within With/EndWith, but expects a syntax like this : MyStructuredVar\MyStructuredMember\_
[2] The structure must be defined in a resident or the current source [not in an include]
[3] The structured variable must be declared the current source [not in an include]
It works like constant context autocompletion [triggered by the '#' key] but with the '\' key.
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:

Post by LCD »

Thanks for the update. JaPBE is my favourite PB-Editor. Just one problem: The latest build has some speed problems. The folding/unfolding is now very slow in comparsion to previous version, but the other Problem that some procedure names are recognised as arrays by syntax highlightner, has been repaired.
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- fixed slow folding/unfolding [I hope I didn't break anything else...]
- 'prototyped' functions now also have tooltips

Code: Select all

Prototype.l ProtoTest1(aaa.l, dddd.l) ; ProtoTest1 tooltip

zzz.ProtoTest1 = GetFunction(0, "1")

zzz(555, 1) ; <---- function zzz() has a tooltip
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply