jaPBe 3.13.4 [IDE for PB 4 and PB 5]

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

Moderator: gnozal

sverson
Enthusiast
Enthusiast
Posts: 286
Joined: Sun Jul 04, 2004 12:15 pm
Location: Germany

Re: jaPBe 3.9.11 [IDE for PB 4.xx]

Post by sverson »

Hi gnozal,

I have a little big wish:

I often need to compare code of different projects.
To do this I open two instances of jaPBe.
If I'm not carefull I edit the wrong window. :(

Is it possible to add a 'ReadOnly' button to the toolbar of jaPBe to make this 'source' instance of jaPBe temporarily read only* and give it a different color. And, if possible, hide the menu + hide all toolbar buttons except the 'ReadOnly'.

*Just scroll, mark & copy possible.

This would be another great feature of jaPBe. :wink:

Best Regards,
sverson
klaver
Enthusiast
Enthusiast
Posts: 147
Joined: Wed Jun 28, 2006 6:55 pm
Location: Schröttersburg

Re: jaPBe 3.9.11 [IDE for PB 4.xx]

Post by klaver »

gnozal, what do you think about icons in menus, like in PB IDE?
http://www.famfamfam.com/lab/icons/silk/
Image
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.9.11 [IDE for PB 4.xx]

Post by gnozal »

klaver wrote:gnozal, what do you think about icons in menus, like in PB IDE?
http://www.famfamfam.com/lab/icons/silk/
Sure, it looks pretty ...
Is it worth the trouble ? I don't know.
When I have time, maybe ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Le Soldat Inconnu
Enthusiast
Enthusiast
Posts: 306
Joined: Wed Jul 09, 2003 11:33 am
Location: France

Editor problem when write without use autocompletion

Post by Le Soldat Inconnu »

Salut Gnozal, je commence en français, ce sera plus simple (sorry i start in french, will be more easy to explain, see english more down)

Plutôt qu'un long discourt le phénomène point par point, j'ai enfin trouvé le moyen de répéter ce bug.

- Tu ouvres jaPBe
- tu tapes i
- tu tapes f
- une liste déroulante te propose plein de truc pour l'autocomplétion
- tu tapes "Echap"
- tu attends un moment
- le if se mets en forme tout seul (pourquoi pas) mais le curseur qui était à la fin du if se retrouve au début du if, donc si je continue de taper mon texte, au lieu d'écrire "if x = 1", j'écris " x = 1if", bof quoi

J'ai ce problème régulièment quand je code, après un copier coller pour remplacer une partie d'une constante, quand j'écris sans utiliser l'autocomplétion, etc ...

C'est assez pénible car je commence une grosse ligne, et quand je relève la tête pour voir ce que j'ai tapé, c'est tout en vrac.

Merci



So, in english

to explain, just simulate this :
- open jaPBe
- push i
- push f
- autocompletion window opens
- push "escape"
- wait a little
- "if" take color but cursor change position, now cursor is before "if"
- so if i continue to write, for example, i want write "if x = 1", i obtain " x = 1if".

Thanks
LSI
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Editor problem when write without use autocompletion

Post by Demivec »

I have reported something similar to this before. I have had this happen to me as well but could not reproduce it reliably.

@Le Soldat Inconnu: From your example I can now reliably reproduce this. For me it involved using the delete key. Here are two ways to demonstrate this:
  • 1. In a new document or on a new line of a document, press Delete once then type 'debug' without the quotes.
    2. Start a new word by typing 'end' and then press Delete.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Editor problem when write without use autocompletion

Post by gnozal »

Ok, thanks, I could reproduce it too.
Should be fixed in next builds (>= 816).
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:

Re: jaPBe 3.9.12 [IDE for PB 4.xx]

Post by gnozal »

Update

Changes :
- fixed cursor position issue posted by LSI
- upgraded to Scintilla 2.01
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Le Soldat Inconnu
Enthusiast
Enthusiast
Posts: 306
Joined: Wed Jul 09, 2003 11:33 am
Location: France

Re: Editor problem when write without use autocompletion

Post by Le Soldat Inconnu »

Smaaack :)
LSI
User avatar
Le Soldat Inconnu
Enthusiast
Enthusiast
Posts: 306
Joined: Wed Jul 09, 2003 11:33 am
Location: France

jaPBe - Missing autocompletion

Post by Le Soldat Inconnu »

Hi, Gnozal

For drawingmode(, there no autocompletion propose directly)

For OpenWindow(, miss #PB_Window_Tool in autocompletion list

Thanks :)
LSI
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: jaPBe - Missing autocompletion

Post by Demivec »

Also missing are the newer constants for use with DrawingMode(), only 4 are listed for autocomplete.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe - Missing autocompletion

Post by gnozal »

Not all functions / constants are supported by the context sensitive auto-completion (when you hit the '#' key) ; I add these functions by hand, mostly for the functions I use.
However, they should be listed by the 'standard' auto-completion feature (when some characters are already typed, depending on the 'Autocompletion minimum char' setting) if 'Load constants from residents' is enabled in Preferences : with 'standard' auto-completion, it get 9 #PB_2D_* constants listed when I type '#PB_2'.

#PB_Window_Tool is listed in build 817.
I have added DrawingMode() context sensitive auto-completion in build 818.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Le Soldat Inconnu
Enthusiast
Enthusiast
Posts: 306
Joined: Wed Jul 09, 2003 11:33 am
Location: France

Re: jaPBe - Missing autocompletion

Post by Le Soldat Inconnu »

thanks
LSI
mx101
User
User
Posts: 73
Joined: Thu Sep 18, 2008 3:21 pm

Re: jaPBe 3.9.12 [IDE for PB 4.xx]

Post by mx101 »

Hi gnozal

jaPBe for purebasic 4.40 x64 and your lib " pureColor etc..." it is possible???
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: jaPBe 3.9.12 [IDE for PB 4.xx]

Post by gnozal »

mx101 wrote:jaPBe for purebasic 4.40 x64 and your lib " pureColor etc..." it is possible???
Sorry, no x64 versions available. The jaPBe source is available though.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
mx101
User
User
Posts: 73
Joined: Thu Sep 18, 2008 3:21 pm

Re: jaPBe 3.9.12 [IDE for PB 4.xx]

Post by mx101 »

gnozal wrote:
mx101 wrote:jaPBe for purebasic 4.40 x64 and your lib " pureColor etc..." it is possible???
Sorry, no x64 versions available. The jaPBe source is available though.

ok thanks gnozal
Post Reply