jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Moderator: gnozal
-
- User
- Posts: 51
- Joined: Mon Jun 01, 2009 3:56 am
Have downloaded JaPBe
Can't find it after I instaled it. Nothing has changed in mypurebasic program either. How do youset this thing up?
Re: Have downloaded JaPBe
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.Hot Pockets wrote:Can't find it after I instaled it. Nothing has changed in mypurebasic program either. How do youset this thing up?
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
It's a sanity check.LCD wrote:Example: "Line 314 in 'scanner_wrapper.pb': folding keyword /stored line mismatch ; folding canceled"
And this in all files!
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).
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.gnozal wrote:It's a sanity check.LCD wrote:Example: "Line 314 in 'scanner_wrapper.pb': folding keyword /stored line mismatch ; folding canceled"
And this in all files!
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.
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
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
The easy way to 'fix it' is to comment line 2088 out in Load_Save_Switch.pbi : '; If SCI_MarkerGet(StartLine) & #FoldMask_OpenClose'.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.
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).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Thanks.LCD wrote:Hi Gnozal. I sent you a PM with a link to the file.
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).
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.gnozal wrote:Thanks.LCD wrote:Hi Gnozal. I sent you a PM with a link to the file.
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'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.

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
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
I have updated jaPBe. With the new build, you can add 'NoLoadSanityCheck = 1' in '[General] ' section of jaPBe.Pref to disable the sanity check.LCD wrote:Maybe it will be a good idea to make the line 2088 optional from preferences "Disable fold checking after loading".
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Great! Thank you, now it works perfectly!gnozal wrote:I have updated jaPBe. With the new build, you can add 'NoLoadSanityCheck = 1' in '[General] ' section of jaPBe.Pref to disable the sanity check.LCD wrote:Maybe it will be a good idea to make the line 2088 optional from preferences "Disable fold checking after loading".
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
-
- User
- Posts: 51
- Joined: Mon Jun 01, 2009 3:56 am
Can't find editor
Thanks I'll look for it in the Temp
@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
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
my live space
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
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.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.
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).
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.gnozal wrote: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.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.
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.
Why would the restart be necessary, is it just to be safe or for working with something like the plugins?
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.gnozal wrote: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.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.
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.
my live space