jaPBe 3.13.4 [IDE for PB 4 and PB 5]

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

Moderator: gnozal

User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post 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 ...."
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Dummy
Enthusiast
Enthusiast
Posts: 162
Joined: Wed Jun 09, 2004 11:10 am
Location: Germany
Contact:

Post 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
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

I posted a mouse pan bug fix for scintilla : viewtopic.php?t=19980&highlight=

Image
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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]
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
tomijan
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Dec 11, 2005 1:32 pm

Post by tomijan »

gnozal, you are great!
if you add structuren members autocomplete to jaPBe yet, PB community should build your memorial !
many thanks
tom
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

all problems fixed, thx
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- added a 'Find variable' feature : F1 on variable (dialog : double-click = goto line) [language file entries 487 - 489]
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 »

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 ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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.
Last edited by Flype on Thu Mar 02, 2006 7:56 pm, edited 1 time in total.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
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 »

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 ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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:
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

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

@Flype : I will see what I can do :wink:
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
tomijan
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Dec 11, 2005 1:32 pm

Post 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.
Post Reply