Page 56 of 104
Posted: Sat Nov 17, 2007 12:37 pm
by gnozal
Update (Build 677)
Changes :
- fixed : sometimes an incorrect tooltip was displayed for user procedures [not defined arguments but current arguments were shown]
For example :
Procedure Test(first.l, second.l) ; Test
EndProcedure
Test(a|, b) ; | is carret -> Tooltip was 'Test(a, b)' instead of 'Test(first.l, second.l) ; Test'
Undesirable indent effect
Posted: Mon Nov 26, 2007 11:11 am
by Demivec
I know the easy fix for what I'm going to mention is don't do that, but here goes. If I start off a comment at the end of an indented line by typing a Equals sign after the semi-colon it un-indents the line by 1 position (2 spaces).
For this example type each line and press Enter.
Code: Select all
If started = 0
Break ;=haven't started
EndIf
It starts of with an indent, then removes it after pressing Enter. Sometimes it will remove the indent when a Space is entered immiediately after the Equals sign without ever pressing Enter.
Since I like to use comments in this fashion I am in the habit of correcting the indent after each comment. I imagine it is a simple fix and it would help save me from constant frustration.

Re: Undesirable indent effect
Posted: Mon Nov 26, 2007 12:09 pm
by gnozal
Demivec wrote:I know the easy fix for what I'm going to mention is don't do that, but here goes. If I start off a comment at the end of an indented line by typing a Equals sign after the semi-colon it un-indents the line by 1 position (2 spaces).
Sorry but
';=' is a reserved jaPBe comment (see manual or help tab) ...
It goes with ';>' and ;<' like here :
Code: Select all
CompilerIf #Something = #True ;>
DoThis()
CompilerElse ;=
DoThat()
CompilerEndIf ;<
Posted: Mon Nov 26, 2007 2:08 pm
by Demivec
Thanks for the quick response. It at least explains the wacky behavior, the other two comments I also were frustrated with. I thought I was going crazy.
@Edit:
I still would like to make a respectful request that the three special comments ";=" , ";<" , ";>" be modified to require a space after them for their intended effect. Making them match ";= " , ";< " , ";> " . If it couldn't be done without changing the other reserved comments to follow the same pattern I would still be in favor of it. I use each of the other reserved comment types frequently with additional text on the line following them.
This would make their use as follows:
Code: Select all
compilerif #debug ;> additional comment
dothis()
compilerelse ;= additional comment
dothat
compilerendif ;<
If starting=0
Break ;=haven't started
EndIf
Posted: Tue Nov 27, 2007 1:28 am
by klaver
Why DataSections can't be Hidden/Expanded?
Posted: Tue Nov 27, 2007 9:43 am
by Hurga
Hi
Seems that I have found a small ähm "feature"
When I add a custom keyword for folding, (I used compilerif and compilerendif), then it folds, but it doesnt show a white triangle at the start of the line
Posted: Tue Nov 27, 2007 7:54 pm
by Karbon
One feature request that would fix a problem that has bitten me. When running from jaPBE the temp exe is created in the temp directory, breaking any bindings made with the DLL importer since it looks for the DLLs in the current directory. The new PB IDE has a "create temporary DLLs in source directory" option so I've had to switch to it for now with 4.10.
Posted: Wed Nov 28, 2007 10:48 am
by gnozal
Karbon wrote:One feature request that would fix a problem that has bitten me. When running from jaPBE the temp exe is created in the temp directory, breaking any bindings made with the DLL importer since it looks for the DLLs in the current directory. The new PB IDE has a "create temporary DLLs in source directory" option so I've had to switch to it for now with 4.10.
Did you try to run jaPBe with /LOCAL switch ?
Posted: Wed Nov 28, 2007 10:52 am
by gnozal
Hurga wrote:When I add a custom keyword for folding, (I used compilerif and compilerendif), then it folds, but it doesnt show a white triangle at the start of the line
Works here ...
Settings I used :
CompilerIf 1 0 0 "" 0
CompilerEndIf -1 0 0 "" 0
Posted: Wed Nov 28, 2007 4:20 pm
by Karbon
No, I didn't know about the /LOCAL switch, I'll try it. Just run the IDE with that parameter?
Posted: Wed Nov 28, 2007 4:30 pm
by unhappy
2gnozal:
hi.
i save PB on my flash drive, and try to learn it sometime when have some free time.
in preferences i set "Purebasic path" not absolute, but relative (e.g. "..\purebasic\").
and so i have that "Compile/Debug (F6)" doesnt work. :-\
now i manually change this field before run japbe.exe, but it is not good.
Posted: Wed Nov 28, 2007 5:05 pm
by gnozal
Karbon wrote:No, I didn't know about the /LOCAL switch, I'll try it. Just run the IDE with that parameter?
Yes : jaPBe /LOCAL
http://www.purebasic.fr/english/viewtop ... &start=809
Posted: Wed Nov 28, 2007 5:15 pm
by gnozal
unhappy wrote:2gnozal:
hi.
i save PB on my flash drive, and try to learn it sometime when have some free time.
in preferences i set "Purebasic path" not absolute, but relative (e.g. "..\purebasic").
and so i have that "Compile/Debug (F6)" doesnt work. :-\
now i manually change this field before run japbe.exe, but it is not good.
And like this : '\Purebasic\' (assuming your purebasic directory is in %FlashDrive%\Purebasic\) ?
You may have to set the current directory of your project [F8] to '\Purebasic\' too because of the external PBDebugger.
Posted: Thu Nov 29, 2007 6:51 am
by unhappy
gnozal wrote:And like this : '\Purebasic\' (assuming your purebasic directory is in %FlashDrive%\Purebasic\)
great!
thank you very much!
Posted: Sun Dec 02, 2007 11:12 am
by Hurga
You re right. My fault