jaPBe 3.13.4 [IDE for PB 4 and PB 5]

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

Moderator: gnozal

Hot Pockets
User
User
Posts: 51
Joined: Mon Jun 01, 2009 3:56 am

Have downloaded JaPBe

Post by Hot Pockets »

Can't find it after I instaled it. Nothing has changed in mypurebasic program either. How do youset this thing up?
LCD
Enthusiast
Enthusiast
Posts: 206
Joined: Sun Jun 01, 2003 10:55 pm
Location: Austria, Vienna
Contact:

Re: Have downloaded JaPBe

Post by LCD »

Hot Pockets wrote:Can't find it after I instaled it. Nothing has changed in mypurebasic program either. How do youset this thing up?
It asks where to decompress, just select a directory, otherwise it is in the temporary dir. You can then find it in the directory you have selected. It does not need installation and you can move it to a different directory.
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 »

LCD wrote:Example: "Line 314 in 'scanner_wrapper.pb': folding keyword /stored line mismatch ; folding canceled"
And this in all files!
It's a sanity check.
This means that the stored line to be fold in the jaPBe footer (; FoldLines=007E0081008 etc...) doesn't have a folding marker after syntax coloring (file : Load_Save_Switch.pbi, function : LoadSourceCodeReal_Sub(File$), line 2088).

Without the source that caused the error message, I can't investigate more.
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 »

gnozal wrote:
LCD wrote:Example: "Line 314 in 'scanner_wrapper.pb': folding keyword /stored line mismatch ; folding canceled"
And this in all files!
It's a sanity check.
This means that the stored line to be fold in the jaPBe footer (; FoldLines=007E0081008 etc...) doesn't have a folding marker after syntax coloring (file : Load_Save_Switch.pbi, function : LoadSourceCodeReal_Sub(File$), line 2088).

Without the source that caused the error message, I can't investigate more.
I even deleted all the folding informations in the footer (after null byte marker) with notepad, and folded anything again. But even this did not help. The folding information at the footer was rebuilt, but same problems again... The source was not folded. I will prepare some of the sources for you later today.

Thanks for the information. I will download the latest source code of JaPBE and try to build the editor.
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 »

LCD wrote:I even deleted all the folding informations in the footer (after null byte marker) with notepad, and folded anything again. But even this did not help. The folding information at the footer was rebuilt, but same problems again... The source was not folded. I will prepare some of the sources for you later today.
Thanks for the information. I will download the latest source code of JaPBE and try to build the editor.
The easy way to 'fix it' is to comment line 2088 out in Load_Save_Switch.pbi : '; If SCI_MarkerGet(StartLine) & #FoldMask_OpenClose'.
But a line to be fold should have a folding marker after syntax coloring.
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 »

Hi Gnozal. I sent you a PM with a link to the file.
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 »

LCD wrote:Hi Gnozal. I sent you a PM with a link to the file.
Thanks.
I could load both files without any warning ... I could Fold/Unfold all without any error too !
I must be something with your settings : could you try erasing all files in %jaPBe%\Syntax ? jaPBe will recreate them if needed.

I have also updated jaPBe. With the new build, you can add 'NoLoadSanityCheck = 1' in '[General] ' section of jaPBe.Pref to disable the sanity check.
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 »

gnozal wrote:
LCD wrote:Hi Gnozal. I sent you a PM with a link to the file.
Thanks.
I could load both files without any warning ... I could Fold/Unfold all without any error too !
I must be something with your settings : could you try erasing all files in %jaPBe%\Syntax ? jaPBe will recreate them if needed.
Manual folding causes no problems here too, only automatic folding after loading of the files. I deleted the file in Syntax directory but it has not changed anyting. The source is still completly unfolded after loading and there are still warnings.
I'm aware that it can be one of the settings, but I reinstalled Windows and now I also deleted the complete JaPBE folder and reinstalled JaPBE back with standard settings, but this has not changed anything, it still does not want to fold my sources after loading. :cry:
I'm running out of ideas what can cause it. Maybe a outdated Scintilla.dll (the latest version is 2.0.0).

Maybe it will be a good idea to make the line 2088 optional from preferences "Disable fold checking after loading".

Other idea is to add multiple profiles to quickly switch which compiler to use. I'm probably not the only one who uses PB 4.31, and PB 4.40b1. And there is still the possibility to switch back to 3.9x for work a little bit on JaPBE or some of my older programs.
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 »

LCD wrote:Maybe it will be a good idea to make the line 2088 optional from preferences "Disable fold checking after loading".
I have updated jaPBe. With the new build, you can add 'NoLoadSanityCheck = 1' in '[General] ' section of jaPBe.Pref to disable the sanity check.
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 »

gnozal wrote:
LCD wrote:Maybe it will be a good idea to make the line 2088 optional from preferences "Disable fold checking after loading".
I have updated jaPBe. With the new build, you can add 'NoLoadSanityCheck = 1' in '[General] ' section of jaPBe.Pref to disable the sanity check.
Great! Thank you, now it works perfectly!
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Hot Pockets
User
User
Posts: 51
Joined: Mon Jun 01, 2009 3:56 am

Can't find editor

Post by Hot Pockets »

Thanks I'll look for it in the Temp
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

@gnozal

first thanks for the fast work so that we can use jaPBe also for the 4.40 betas.

Now i have a wish for the next version of jaPBe.
Can you at a options part where we can select more than one PB version and also a function ( in the menu or so ) where we can switch shortly between the pb version what we have setup befor to compile code?

I think it is a good idea so that we don't must install more then one version of jaPBe to work with different versions of PB.

I hope you know waht i mean.

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

Post by gnozal »

nicolaus wrote:I think it is a good idea so that we don't must install more then one version of jaPBe to work with different versions of PB.
I don't think it's such a good idea ; I think it's better to have separate installs, one for each PB version (the PB versions are in separate directories anyway). You may want to use different jaPBe settings / plugins / plugin versions for each PB version.
And you have to restart the compiler anyway to use a different PB version, so it doesn't take much longer to start a 2nd jaPBe session from another directory. You may even use links.
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

Post by Demivec »

gnozal wrote:
nicolaus wrote:I think it is a good idea so that we don't must install more then one version of jaPBe to work with different versions of PB.
I don't think it's such a good idea ; I think it's better to have separate installs, one for each PB version (the PB versions are in separate directories anyway). You may want to use different jaPBe settings / plugins / plugin versions for each PB version.
And you have to restart the compiler anyway to use a different PB version, so it doesn't take much longer to start a 2nd jaPBe session from another directory. You may even use links.
I frequently switch between versions simply by modifying the PureBasic path. I've never had a problem doing this without restarting, in fact I often leave the code running and rarely close it down or restart it. I do this often while testing new beta versions as well.

Why would the restart be necessary, is it just to be safe or for working with something like the plugins?
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

gnozal wrote:
nicolaus wrote:I think it is a good idea so that we don't must install more then one version of jaPBe to work with different versions of PB.
I don't think it's such a good idea ; I think it's better to have separate installs, one for each PB version (the PB versions are in separate directories anyway). You may want to use different jaPBe settings / plugins / plugin versions for each PB version.
And you have to restart the compiler anyway to use a different PB version, so it doesn't take much longer to start a 2nd jaPBe session from another directory. You may even use links.
But if you at also Menu-Items for each version of PB wath is setup in the options and the user click one of this items you can start the compiler automatically new. You can also at a section in the options for the plugins for each PB version.
Post Reply