Have downloaded JaPBe
Posted: Sun Aug 16, 2009 11:19 pm
Can't find it after I instaled it. Nothing has changed in mypurebasic program either. How do youset this thing up?
http://www.purebasic.com
https://www.purebasic.fr/english/
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?
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!
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.
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.
Thanks.LCD wrote:Hi Gnozal. I sent you a PM with a link to the file.
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 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".
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".
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.
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.
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.