Page 10 of 104

Posted: Tue Feb 28, 2006 6:32 pm
by ts-soft
When i translate PBOSL_RFile.pb, was PBOSL created. Wenn PBOSL_RFile.pb
in a Long Pathname, was nothing created, only a 0 Byte-File "Eigene". The File is in "E:\Eigenen Dateien\PureBasic ...."

Posted: Tue Feb 28, 2006 6:59 pm
by Dummy
ts-soft wrote:When i translate PBOSL_RFile.pb, was PBOSL created. Wenn PBOSL_RFile.pb
in a Long Pathname, was nothing created, only a 0 Byte-File "Eigene". The File is in "E:\Eigenen Dateien\PureBasic ...."
the #DOUBLEQUOTE$s are missing in commandline

Posted: Wed Mar 01, 2006 8:41 am
by gnozal
Dummy wrote:the #DOUBLEQUOTE$s are missing in commandline
Yes, I will fix this.
ts-soft wrote:When i translate PBOSL_RFile.pb, was PBOSL created. Wenn PBOSL_RFile.pb
Hmm, yes, it's a feature I need. All my library sources filenames are like LIBNAME_LIB_VERSION, so the final lib will be LIBNAME (cut before the first '_'). I will make it optional.

Posted: Wed Mar 01, 2006 9:11 am
by eddy
I posted a mouse pan bug fix for scintilla : viewtopic.php?t=19980&highlight=

Image

Posted: Wed Mar 01, 2006 9:37 am
by gnozal
Update

Changes :
- added red error marker '>>>' for marking the last compiler error line (reset before compile)
- added menu item 'Goto last error line' [language file entry 485]
- fixed Tailbite double quotes
- added option for Tailbite : cut library file name (MyLIB_V5.pb -> MyLIB) [language file entry 486]

Posted: Wed Mar 01, 2006 8:21 pm
by tomijan
gnozal, you are great!
if you add structuren members autocomplete to jaPBe yet, PB community should build your memorial !
many thanks
tom

Posted: Wed Mar 01, 2006 9:26 pm
by ts-soft
all problems fixed, thx

Posted: Thu Mar 02, 2006 2:45 pm
by gnozal
Update

Changes :
- added a 'Find variable' feature : F1 on variable (dialog : double-click = goto line) [language file entries 487 - 489]

Posted: Thu Mar 02, 2006 2:49 pm
by gnozal
tomijan wrote:if you add structuren members autocomplete to jaPBe
jaPBe already completes structure members.

Code: Select all

Structure test
  toto.l
  titi.l
EndStructure

autocomplete.test

autocomplete\tot| <---- jaPBe proposes 'toto'
Or do you mean something else ?

Posted: Thu Mar 02, 2006 3:20 pm
by Flype
Some days ago you implements the right-alignment for comments which is useful, i think.

What do you think of enlarging the concept to more than the ';' character ?

Examples are always better :

Code: Select all

x = 0
y = 0
width = 100
height = 230
hWindow = WindowID(0)
Transformed to:

Code: Select all

x       = 0
y       = 0
width   = 100
height  = 230
hWindow = WindowID(0)
Or

Code: Select all

x + 10
y + 10
width + 50
height + 50
Transformed to:

Code: Select all

x      + 10
y      + 10
width  + 50
height + 50
Or

Code: Select all

Import "kernel32.lib"
  GlobalMemoryStatus(*lpBuffer) As "_GlobalMemoryStatus@4"
  GlobalMemoryStatusEx(*lpBuffer) As "_GlobalMemoryStatusEx@4"
EndImport
Transformed to:

Code: Select all

Import "kernel32.lib"
  GlobalMemoryStatus(*lpBuffer)   As "_GlobalMemoryStatus@4"
  GlobalMemoryStatusEx(*lpBuffer) As "_GlobalMemoryStatusEx@4"
EndImport
Maybe i'm a little mad but i like to align my code even if the display is quite bad with some (non-coders) fonts.

Posted: Thu Mar 02, 2006 3:43 pm
by gnozal
gnozal wrote:Update

Changes :
- added a 'Find variable' feature : F1 on variable (dialog : double-click = goto line) [language file entries 487 - 489]
:oops: Uploaded wrong archive. Fixed.

Posted: Thu Mar 02, 2006 3:52 pm
by gnozal
Flype wrote:Some days ago you implements the right-alignment for comments which is useful, i think.
What do you think of enlarging the concept to more than the ';' character ?
Very nice examples.
It was easy with the ';' character because you can only have one comment per line.
With one '+' or '=' per line it's easy too : I can reuse the old code and only change the ';' character to '+' or '='.
But you may have more than one '=' or '+' character per line, so how to decide the alignement ? And imagine lines with lots of ':' separated commands, or combinations : lines with '=' and ';' ... What would the alignment criteria be ?

Posted: Thu Mar 02, 2006 9:05 pm
by Flype
gnozal wrote:With one '+' or '=' per line it's easy too : I can reuse the old code and only change the ';' character to '+' or '='.
But you may have more than one '=' or '+' character per line, so how to decide the alignement ? And imagine lines with lots of ':' separated commands, or combinations : lines with '=' and ';' ... What would the alignment criteria be ?
You (we) can consider, definitely, that it is only possible on lines such as the ones in my example.

IMHO, the real difficulty is to managed such case:

First step

Code: Select all

x + 10 ; update sprite x
y + 8 ; update sprite y 
width + 12 ; adjusting the width
height + (50) ; adjusting the height
Second step

Code: Select all

x      + 10 ; update sprite x
y      + 8 ; update sprite y 
width  + 12 ; adjusting the width
height + (50) ; adjusting the height
Last step

Code: Select all

x      + 10   ; update sprite x
y      + 8    ; update sprite y 
width  + 12   ; adjusting the width
height + (50) ; adjusting the height
One user-friendly way :
I think the editor may offer to the user a dialog when calling the hotkey.
In this dialog the user can choose the operating separator ( , ; + - As ... ).
The dialog may looks like the autocompleting jaPBe dialog.
:roll:

Posted: Fri Mar 03, 2006 8:59 am
by gnozal
Update

Changes :
- 'Find variable' feature : some fixes and enhancements

@Flype : I will see what I can do :wink:

Posted: Fri Mar 03, 2006 9:14 am
by tomijan
gnozal wrote:

jaPBe already completes structure members. [...]
Or do you mean something else ?

I dont know this feature ! It's will be nice to display all structure members directly after '\' character, like on example in Delphi IDE?
thx gnozal!
tom
ps. It's possible to use in jaPBe this kind of debugger, as in original PB IDE? I find this more convenient as standalone version.