Demivec wrote:Each time the last step is performed there will be a new entry under the 'Book' tab for procedure test() and there won't be any way to remove them without closing the file and reopening it.
Yes, it's the same if you write manually 'Procedure Test()' twice. The 'Procedure' keyword adds a bookmark. jaPBe does not check for duplicate bookmark names (it does for procedure names : there are not duplicates in the 'Proc' list).
If you delete the 2nd 'Procedure Test()', jaPBe will remove the duplicated bookmark. This doesn't happen with CTRL+Z as it simply calls Scintilla's undo function SCI_Undo(), and I don't get a SCN_MODIFIED notification in the callback after the undo despite #SC_MOD_PERFORMED_UNDO flag being set with SCI_SetModEventMask().
Would it be possible to be able to refresh the bookmarks without reloading the file? If this were possible it would allow the use of undo/redo for editing.
Even though this effect does not affect the 'Proc' tab the way it does the 'Book' tab it has an additional side effect that does involve them somewhat. If the menu item 'Insert Declarations' is selected from the 'Project' menu it will insert procedure declarations for each of the phantom bookmarked procedures also instead of basing it on the actual ones listed on the 'Proc' tab.
I don't know if it is really a bug do jaPBe, if i use "OpenNetworkConnection" command in code and run in Debug mode (F6) or in Normal mode (F5) the command return a numeric value in every case, so it's impossible to know the correct status of the connection, until we create the final exe, can anyone check it ? Thanks
ALAN-MHz wrote:I don't know if it is really a bug do jaPBe...
Try the same code in the PB IDE to find out.
ALAN-MHz wrote:If i use "OpenNetworkConnection" command in code and run in Debug mode (F6) or in Normal mode (F5) the command return a numeric value in every case, so it's impossible to know the correct status of the connection, until we create the final exe
i know that is absurd situation, but if i activate "Create TEMP EXE in source dir" in jaPBe project option all work good, without any problem, seems that the temporary directory have a problem on my PC, but if i work on PureBasic IDE all work good in every case
i have a bug in jaPBe.
I have set the options in jaPBe so that if i open a code file it will bee also open all includes.
Now if i close the code file jaPBe will also close all loaded includes but than i will get all the times the error what you can see on the screenshot.
after i click ok i will get the next error that jaPBe cant save the scourcecode.
nicolaus wrote:
i have a bug in jaPBe.
I have set the options in jaPBe so that if i open a code file it will bee also open all includes.
Now if i close the code file jaPBe will also close all loaded includes but than i will get all the times the error what you can see on the screenshot.
I can't reproduce this error with my include test files; maybe it's source dependent.
Could you please try with the latest build (3.9.10.809) and post the error message if there is still a problem ?
I might also need your sources.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Hi Gnozal,
A while back I reported that jaPBe did not limit the number of backup files to the limit on the Preferences/General panel. Your response was that you would fix this on the next release.
PLEASE DON'T DO THIS!
jaPBe is currently saving backups of several of my projects, reaching 1057 in one case and in the 500-700 range in two others. My Backup directory now has 7,623 files and is 2.04 Gb in size.
Hard disks are cheap and I can spend an hour or so making a DVD backup of the recent stuff if I want to... but the delight of being able to recover a key file from last July... which has saved me a lot of work rewriting a very complex file analyser... is hard to measure. So please leave the backup file count running wild and let me delete really old stuff!
Best regards,
RichardL
Last edited by RichardL on Fri Oct 23, 2009 7:30 am, edited 1 time in total.
RichardL wrote:Hi Gnozal,
A while back I reported that jaPBe did not limit the number of backup files to the limit on the Preferences/General panel. Your response was that you would fix this on the next release. PLEASE DON'T DO THIS!
Iirc, it's fixed for some time now. No ?
Just increase the limit in preferences, like 5000 (max).
[EDIT]Just tested latest build : it seems fixed.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
I think i have found one more small bug in jaPBe.
In the options of jaPBe i have enabled the custom folding and i have add the keyword If and EndIf for folding. ( see the screenshots.
But since i have do this i have a problem with variables after the keyword If. It means that if i type "If" and after that i start to typ the variable jaPBe dosn't show the autocomplet window and jaPBe allso jaPBe dosn't know the variable but the variable is declared.
See the screenshot and you will see that also the color of the variable afert the "If" is in the right one.
nicolaus wrote:I think i have found one more small bug in jaPBe.
In the options of jaPBe i have enabled the custom folding and i have add the keyword If and EndIf for folding. ( see the screenshots.
You used 'NextType = 5', which means the next word is a procedure ...
Please use the default settings for the 'If' keyword :