jaPBe 3.13.4 [IDE for PB 4 and PB 5]

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

Moderator: gnozal

sospel
User
User
Posts: 16
Joined: Wed Sep 17, 2008 3:34 pm

JapBe manual

Post by sospel »

Hello !
I ' ve downloaded "jaPBe for PB400" this morning, on "Gnozal's Purebasic place", and it is OK .
But I try without success to download the "Manual jaPBe V3 reference manual (english)" :
I only have a "jaPBeForPB400_Manual.7z" file, unzipable :(

So, where is error ??

Thanks for any answer !
Cordially
Sospel
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: JapBe manual

Post by gnozal »

sospel wrote:I only have a "jaPBeForPB400_Manual.7z" file, unzipable :(
Does your archiver support 7z archives ?
You may use 7-ZIP or IZarc or WinRAR to unpack a 7z (seven zip) archive.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
sospel
User
User
Posts: 16
Joined: Wed Sep 17, 2008 3:34 pm

JapBe manual

Post by sospel »

OK ! I'll use Winrar.
Thanks for reply
Sospel
thearr
User
User
Posts: 21
Joined: Sun Apr 26, 2009 3:18 am
Location: RU

Post by thearr »

I get this error every time I try to type this code:

Image
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

@gnozal

i have a crasy bug in build 779.
I have add custome keywords (IF, ENDIF) for folding.
5 min later i have delete this 2 keywords but now the orginal folding is not true.
See the Image to know what i mean, you can see that between the line nr 2287 and 3777 it lose lines (all foldings are open). If i open the code file in a normal editor i can see all lines but jaPBe dont show it right now. I have restart jaPBe and also restart the PC but no solution.

Can you check this one and say me what i can do to see all the lines?

Image

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

Post by gnozal »

thearr wrote:I get this error every time I try to type this code:
Image
It's a crash at the end of the callback, difficult to reproduce, I will investigate.
Does it also happen with option 'Smart context autocompletion' disabled ?
nicolaus wrote:i have a crasy bug in build 779.
I have add custome keywords (IF, ENDIF) for folding.
5 min later i have delete this 2 keywords but now the orginal folding is not true.
See the Image to know what i mean, you can see that between the line nr 2287 and 3777 it lose lines (all foldings are open).
This issue only happens with custom folding ?
Maybe it's because of the new optimized folding code, although I can't reproduce this with custom folding for If/EndIf.
1. Could you test the last build (786) ?
2. Could you post your jaPBe_Indentation.pref file ?
EDIT : I just realized that in your posted screenshot EndIf on line 2287 is followed by a manual folding marker ';}' ; if you added custom folding for If/EndIf, you now have two folding markers for the same line. I guess one is too much.
Remove the custom folding for If/EndIf or remove the custom markers ';{' and ';}' for If/EndIf.
Last edited by gnozal on Tue Apr 28, 2009 12:25 pm, edited 3 times in total.
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 786)

Changes :
- fixed a scintilla focus issue while in 'Smart context autocompletion' mode (it might also fix the issue posted by thearr).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
thearr
User
User
Posts: 21
Joined: Sun Apr 26, 2009 3:18 am
Location: RU

Post by thearr »

gnozal wrote:Update (build 786)

Changes :
- fixed a scintilla focus issue while in 'Smart context autocompletion' mode (it might also fix the issue posted by thearr).
Thank you, the problem has disappeared.

With build 785 the problem can be reproduced by the following actions:

[Type]
*Variable.POINT
*Va [Press Tab to auto complete] [Type] \
[Crash]

I’m not sure, but it seems to me that this bug began after I turned off/on Auto-case option several times.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

nicolaus wrote:Can you check this one and say me what i can do to see all the lines?
Please read my previous post for some solutions and for an explanation.
If it still doesn't work, open your file with any editor and remove ALL the folding information at the end (lines where you see something like '; FoldLines=0002000400060008').
I also added a sanity check when jaPBe loads a file (build 788).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

gnozal wrote:
nicolaus wrote:Can you check this one and say me what i can do to see all the lines?
Please read my previous post for some solutions and for an explanation.
If it still doesn't work, open your file with any editor and remove ALL the folding information at the end (lines where you see something like '; FoldLines=0002000400060008').
I also added a sanity check when jaPBe loads a file (build 788).
Thanks for the very fast solution gnozal.
I will test the new build now.
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

gnozal wrote:Update (build 786)

Changes :
- fixed a scintilla focus issue while in 'Smart context autocompletion' mode (it might also fix the issue posted by thearr).
I had a issue with autocompletion that it seems to have been fixed as well. It involved typing something like "EndIf". If I paused in typing after the "d" it would capitilize, indent and move the cursor to the beginning of the line just in time for me to type "If". So the resulting line looked like "If End" instead of "EndIf". It did this on other occasions involving other keyworks as well as in the typing of some variable names. The problem had been present in several versions and I was having trouble reproducing it and narrowing the conditions down when it occurred, until recently.

For now it seems like all is well again. :wink:
LCD
Enthusiast
Enthusiast
Posts: 206
Joined: Sun Jun 01, 2003 10:55 pm
Location: Austria, Vienna
Contact:

Post by LCD »

JaPBE last version:
Annoying bug: After loading a source code, all folded lines are unfolded. Folded them again, but after loading again same problem...
I deleted now all folding information from source files, folded again and resaved, but it still unfolds automaticaly. Is there a way to stop JaPBE from unfolding? Autofolding takes ages with long sources...
Automatic folding has some problems with lines folded by ;{ and ;}.
Last edited by LCD on Mon May 11, 2009 12:37 am, edited 1 time in total.
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

Demivec wrote:
gnozal wrote:Update (build 786)

Changes :
- fixed a scintilla focus issue while in 'Smart context autocompletion' mode (it might also fix the issue posted by thearr).
I had a issue with autocompletion that it seems to have been fixed as well. It involved typing something like "EndIf". If I paused in typing after the "d" it would capitilize, indent and move the cursor to the beginning of the line just in time for me to type "If". So the resulting line looked like "If End" instead of "EndIf". It did this on other occasions involving other keyworks as well as in the typing of some variable names. The problem had been present in several versions and I was having trouble reproducing it and narrowing the conditions down when it occurred, until recently.

For now it seems like all is well again. :wink:
It seems I was wrong, autocompletion still has problems with what I mentioned previously. :cry:
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

LCD wrote:JaPBE last version:
Annoying bug: After loading a source code, all folded lines are unfolded. Folded them again, but after loading again same problem...
I can't reproduce this.
If I could have the source, maybe I could fix it. Do you use custom folding and/or keywords ?
LCD wrote:Is there a way to stop JaPBe from unfolding? Autofolding takes ages with long sources...
JaPBe does not unfold lines after a file is loaded [a newly loaded file is unfold by default], it folds lines according to the folding information at the end of the source file [; FoldLines=031D032509550979 etc...].
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:JaPBE last version:
Annoying bug: After loading a source code, all folded lines are unfolded. Folded them again, but after loading again same problem...
I can't reproduce this.
If I could have the source, maybe I could fix it. Do you use custom folding and/or keywords ?
I can send you the source, too... But it does not look like there is something wrong with the file. JaPBE says there is a end folding mark without start folding at line 137, but does not say in which of the sources. I checked all of them, but I found only ENDPROCEDURE keyword at this position.
I do not use custom folding/keywords, only ";{" and ";}", but these are not custom but native.
gnozal wrote:
LCD wrote:Is there a way to stop JaPBe from unfolding? Autofolding takes ages with long sources...
JaPBe does not unfold lines after a file is loaded [a newly loaded file is unfold by default], it folds lines according to the folding information at the end of the source file [; FoldLines=031D032509550979 etc...].
I know, after a zero-Byte (End mark) there are folding informations, but these lines are not interpreted by JaPBE for a unknown reason:

Code: Select all

; jaPBe Version=3.9.5.789
; FoldLines=00160019001A00200021002B002C0038003B005A005B00840069000000710000
; FoldLines=008500B100BD00CD00CE028E028F02E702FB032F0330034B034C045C03640000
; FoldLines=03680000036D000003730000038600000391000003A0000003A7000003B50000
; FoldLines=03BA000003C2000003CF000003D6000003DC000003E2000003EA000003F10000
; FoldLines=03F9000003FE00000403000004070000040E00000412000004160000043A0000
; FoldLines=045D04960497049C04C2054A053C0000054B059A05D405D605D705DD05DE05E4
; FoldLines=05E505FD05FE0603060B060F061006160617061B061C062A062B062F06300633
; FoldLines=063406370638063D063E06410642064D064E065A065B065F0660070A070B0763
; FoldLines=0764076A076B07720776077F0780078B078C078E0790079207930795081408E9
; FoldLines=08EA09B809B909BE09BF0A3F0A420CA40CA90CAB0CAC0CAE0CAF0CCC0CCD0CCF
; FoldLines=0CD00CD20CD30CF50CF60D200D210D5E0D5F0D800D810D860D870D930D940DBA
; FoldLines=0DBB0DBD0DBE0DFA0DFB0E390E3A0E3C0E3F0E4C0E4D0E570E580E600E610E68
; FoldLines=0E690E6F0E700E750E760E780E790E7E0E7F0E810E820E840E850E880E890E8C
; FoldLines=0E8D0E8F0E900E9D0E9F0EA50EA60EAC0EAE0EB70EB80EBC0EBD0EC10EC20EC9
; FoldLines=0ECA0ECE0ECF0ED60ED70EF70EF80F1F0F200F3A0F3B0F520F530F680F690F7C
; FoldLines=0F7D0F970F980FAB0FAC0FB90FBA0FBF0FC00FDD0FDE0FE20FE30FF10FF20FF6
; FoldLines=0FF70FFF100010071008100E100F10171018101C101D10351036104E104F106E
; FoldLines=106F107E107F108A108B1095109610981099109B109D109F10A010AA10AB10B4
; FoldLines=10B510BE10BF10C610C710CC10CD10D210D310D510D610D910DA10DE10DF10E1
; FoldLines=10E210E510E610EE10EF10F110F210F510F610F910FA10FD10FE11011102110D
; FoldLines=110E11141115111A111B11211122112811291130113111331137113B113C114A
; FoldLines=114B114F1150116F1170117E117F118E118F119611971199119B11A311A411AD
; FoldLines=11AE11C511C611CB11CD11E111E2126211E4000012040000121E000012380000
; FoldLines=124700001263162F12670000127D0000128C0000129B000012AB000012C00000
; FoldLines=12D1000012E2000012F3000012FE000013090000130E0000131E000013300000
; FoldLines=134000001345000013550000135C000013690000136C00001373000013790000
; FoldLines=138400001388000013930000139E000013AA000013B3000013C6000013D50000
; FoldLines=13E0000013E3000013E6000013E9000013EC000013FF00001411000014210000
; FoldLines=142B000014350000143C000014490000144E0000145900001462000014760000
; FoldLines=148700001491000014A4000014B6000014C9000014D2000014DF000014F60000
; FoldLines=15020000150E0000151B0000152B00001535000015470000154F000015630000
; FoldLines=15710000157F0000158D000015960000159E000015A7000015B600001631165B
; FoldLines=165C1662166316881689168C168D16921697169B169C16BA16BE1C2916CD0000
; FoldLines=16DC000016FD00001715000017240000172D0000173400001740000017830000
; FoldLines=17B0000017DE000017EA000017F80000180D000018490000185D0000189D0000
; FoldLines=18BC000018CB000018E300001926000019640000196F00001991000019AC0000
; FoldLines=1A0300001A5C00001A6A00001A7700001A8A00001AA100001AC500001ADC0000
; FoldLines=1AF200001AFB00001B0700001B1A00001B2600001B3600001B4A00001B510000
; FoldLines=1B5D00001B7800001B8F00001BAA00001BBB00001BDB00001BED00001C090000
; FoldLines=1C1300001C1B00001C2A1C601C3D00001C611F571C7400001C7A00001C7F0000
; FoldLines=1C8400001C8900001CC000001CF200001D1800001D3800001D4D00001D7A0000
; FoldLines=1DB400001DE600001E1600001E3300001E4F00001E6900001E8400001E920000
; FoldLines=1EB800001ED600001F0300001F3B00001F581FBA1F6300001F8700001FA90000
; FoldLines=1FBB1FBF1FC420252026203520362049204A2059205A2069206A208120822091
; FoldLines=209220AC20AD20CE20CF20D920DA20E420E520EF20F020F520F6210321042129
; FoldLines=212A213521362140214221442145214D214F21602161216A216B21972199219D
; FoldLines=219E21A221A321C221C321C721C821F321F624A521F7000022B1000022D70000
; FoldLines=2351000023720000239E000023DA000023E8000023FD0000241D000024A625E7
; FoldLines=24AF0000251A000025260000254D000025680000257A0000259C000025A40000
; FoldLines=25A8000025B4000025BE000025E8281D25EA000025F0000025FC000026050000
; FoldLines=26120000261A0000262300002625000026270000263D000026460000265B0000
; FoldLines=266100002663000026650000266D0000267C0000267E000026830000268C0000
; FoldLines=269000002697000026A9000026BD000026CC000026D9000026EC000026F90000
; FoldLines=270D0000271F00002728000027310000273A0000274E00002782000027890000
; FoldLines=278B000027930000279B0000279D000027A5000027CB000027ED000027FB0000
; FoldLines=2806000028110000281E28242825284528462864286528BB28BC28C328C428CF
; FoldLines=28D02975297629802982298629872989298A298F299129932994299629972999
; FoldLines=299A299C299D29A229A329C429C529C929CA29CE29CF29DC29DE29E629E729F5
; FoldLines=29F62A202A212AC72AC82ACA2ACB2B0E2B0F2B1F2B202BE62BE72C172C182C50
; FoldLines=2C512C672C682E3F2D8D00002E402E6E2E702EE02EE12EE72EE82EEC2EED2F03
; FoldLines=2F042F232F242F432F442F642F652F872F882F9E2F9F2FB42FB52FC42FC52FD4
; FoldLines=2FD52FE42FE52FF52FF62FF92FFA305D302E0000305E331B30D1000030E10000
; FoldLines=311000003165000031B6000031EB000031F0000031F5000031FD000032020000
; FoldLines=32130000322C0000327B00003292000032AF000032DF0000330900003320338C
; FoldLines=338D339233933399339A339C339E33A633A733B433B533C233C333CC33CE33D5
; FoldLines=33D633DD33DE33E533E633EB33EC33F433F533F933FA34023403340B340C3417
; FoldLines=341A343734383449344A347A347B350C34A00000350D351D3520354035413567
; FoldLines=35450000354C00003551000035570000355C0000355E00003568358C356A0000
; FoldLines=3571000035760000357C00003581000035830000358D3593359435A735A835D8
; FoldLines=35AD000035B8000035C1000035C7000035CE000035D0000035D9360B35DF0000
; FoldLines=35EA000035F3000035F900003600000036020000360C366636673697369836B6
; FoldLines=36B736C936CB36D436D5371F36DF000036F60000370000003720372D372E3756
; FoldLines=3757376437663797379837B237B337C937CB37F837F9382C382D38443846384C
; FoldLines=384D38DB38DC391D391F392539263939393A393C393D39413942394B394C3955
; FoldLines=39563974397639863987398B
; Build=2
; CompileThis=Retro-X-main.pb
; FirstLine=27
; CursorPosition=91
; ExecutableFormat=Windows
; DontSaveDeclare
; EOF
Edit: JaPBE claims invalid folding marks every time in different places, but they are always valid keywords: ENDPROCEDURE, ENDENUMERATION and similar...

Edit 2: after changing back to build 788 the same problem, but returning to previously installed Build 785 cured the problem...
My PC
Ryzen 9 5950, 64 GB RAM, nVidia RTX A4000, Win 10
Ryzen 7 1700, 32 GB RAM, nVidia RTX A2000, Win 10
Post Reply