jaPBe - Preview (just another PureBasic editor)

Developed or developing a new product in PureBasic? Tell the world about it.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

jaPBe - Preview (just another PureBasic editor)

Post by GPI »

http://caosandkin.bei.t-online.de/pureb ... review.zip

This is the first version, which can compile.

Still some things are missing: Find (i lost the find.pbi because of a bug), Tools-Menu, Help (menu), drag & drop, doubleclick on XIncludeFile,....

and so on.

Look in the preferences, there are somethings, that is new, like the automatic creation of declare-files and all.declare.

I don't create a exe.manifest because there are problems with the preference-window. When you open the preference.window, you see a preview in the combobox-style-choose. This will not happend, when a .manifest exist.

It is possible to say in the manifest, that the combobox-styles or the complete preference-window is not affect by the manifest?

If you miss some things, post it.

GPI
Last edited by GPI on Sat Jun 28, 2003 9:20 pm, edited 1 time in total.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Little update:

http://caosandkin.bei.t-online.de/pureb ... update.zip

CompileThis
Does work now right. (sometimes the wrong name is compiled)

autosave declare
now handle declare.structure correct, also the element under the cursor does now fit. "all.declare" is now created correct.
NOTE: before you linke the all.declared, all used structures in the declarations should be definied!

autocompletion
When a word complete fit, it not showend in the selection.

paste
pasted text is not selected.

cut
work now everytime, not only when more lines selected.

btw: jaPBe stand for "just another PureBasic editor" and is an alternate for the original editor.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

GPI wrote:Little update:

http://caosandkin.bei.t-online.de/pureb ... update.zip

CompileThis
Does work now right. (sometimes the wrong name is compiled)

autosave declare
now handle declare.structure correct, also the element under the cursor does now fit. "all.declare" is now created correct.
NOTE: before you linke the all.declared, all used structures in the declarations should be definied!

autocompletion
When a word complete fit, it not showend in the selection.

paste
pasted text is not selected.

cut
work now everytime, not only when more lines selected.

btw: jaPBe stand for "just another PureBasic editor" and is an alternate for the original editor.
Will test it :wink:

Keep up your excellent work :!:

I am to provide the public with beneficial shocks.
Alfred Hitshock
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Ok, i fixed some bugs and add the toolbar. Also Find works now.

http://caosandkin.bei.t-online.de/pureb ... pdate2.zip
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

A little bit more feedback would be nice...

Here a version with full help:
http://caosandkin.bei.t-online.de/pureb ... pdate3.zip
woki
User
User
Posts: 23
Joined: Fri Apr 25, 2003 4:48 pm
Location: Germany

Post by woki »

Great work, i love it.
Two little remarks:
it would be better to use c:\program files\PureBasic\ as default path (programme is german only).
If I choose to select my path with the ... button and then click cancel in the dialog the dialog open again and I have to click cancel again.
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

GPI wrote:A little bit more feedback would be nice...
Information on (and links to) what libraries it requires would be nice...

;p
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

>it would be better to use c:\program files\PureBasic\ as default path
>(programme is german only).

The programm checks, where purebasic is, so it should take the path from this... Or, i have packted the jaPBe.pref (take a look) ... yes, i copy the jaPBe.pref. Can try this? Delete the jaPBe.pref and the start the editor. The Path should be right then.

>If I choose to select my path with the ... button and then click cancel in the
>dialog the dialog open again and I have to click cancel again.

I know, but i can't reproduce the error. I have added to all gadget a EventType()=#pb_eventtype_leftclick because i think, that the gadget get a lost focus message and in the old version und so the dialog is open.

GPI

Edit:

@tinman
You should download all 4 Files and dezip id.

GPI
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

Thanks for the explanation. It looks like an excellent editor. I have a few questions / comments though:

1) Sometimes when I am changing settings and doing other things I get strings like "BUG-Prefent: 64 88" in the log at the bottom of the window. Are these important? Should I report them to you?

2) It would be nice (but not essential) if it was possible to set the background for all styles at one time.

3) In the "Style/Editor" preference window the spin gadgets are 8 pixels wide. I can see this has been done to keep them square, but my eyesight and mouse skills are not *that* good :) Perhaps have them a bit wider (for example, the width of a standard scrollbar arrow?).

4) You should probably have an option for the OnError line debugging in the "Compiler Options" window (this was only released with v3.70, so perhaps you have not had enough time to add it).

5) When I modify the colours in the "Style/Editor" preference window and I click on "Background" (for any style), select one of the colours and then click on OK I must click on OK a second time. It looks like the colour requester is shown a second time. Perhaps the same problem as reported above? It also sometimes happens with the Foreground, but not always.

6) Sometimes when I select text the current cursor position gives strange numbers and I have a very strange string in the log window. See http://www.david-mcminn.co.uk/images/japbe1.png.

7) Would it be possible to have some sort of popup which shows the parameters of functions and procedures? It is very nice to have an auto-complete for my own procedures, but I can never remember the parameters :)

8) Double-click on "XIncludeFile", etc, to open that file would be nice (same as with the default PB editor).

9) Your Find and replace is excellent! (One of the things that annoys me about the defualt PB editor :)

10) How do I get the "CompileThis" to work? I have a set of files open, switch to my main file, select "Set as main file" from the menu, switch to another file, but "Compile & Run" always tries to compile the file I am currently editing. I cannot find anything in the editor which is labelled "CompileThis"?

11) Procedure folding and "Load block" kick ass! ;)

12) In the "Var" section of the browser window on the right, all the fields from my structures are shown. Would it be possible to indent them, or hide them, or show them in a different colour?

I realise that some of these reports are not very good. Please let me know if you want more information or some proper tests. Your editor is very good and I would like to see your work continue.

Thanks for your excellent work.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

where does one download a compiled version of scintilla DLL :?: :?: :?:
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

>1) Sometimes when I am changing settings and doing other things I get
>strings like "BUG-Prefent: 64 88" in the log at the bottom of the window.
>Are these important? Should I report them to you?

Don't care about it. When you create a Stinggadget in a Panel, the mainloop get a message for this gadget, but with the wrong windowid. There is a little check. I removed this message in the future.

>2) It would be nice (but not essential) if it was possible to set the
>background for all styles at one time.

press Default Background

>3) In the "Style/Editor" preference window the spin gadgets are 8 pixels
>wide. I can see this has been done to keep them square, but my
>eyesight and mouse skills are not *that* good :) Perhaps have them a
>bit wider (for example, the width of a standard scrollbar arrow?).

You can also type the value in the box.
(Ups, i test it with my actual version: you can't. I will take a look)

>4) You should probably have an option for the OnError line debugging in
>the "Compiler Options" window (this was only released with v3.70, so
>perhaps you have not had enough time to add it).

Ups. I work with 3.62-mod5b, so i forget this...

>5) When I modify the colours in the "Style/Editor" preference window
>and I click on "Background" (for any style), select one of the colours and
>then click on OK I must click on OK a second time. It looks like the
>colour requester is shown a second time. Perhaps the same problem as
>reported above? It also sometimes happens with the Foreground, but not
>always.

The problem is, that i can't reproduce this. I think, that the gadget get a lost-focus-message and it was interpreted as a click. I added checks now.

>6) Sometimes when I select text the current cursor position gives
>strange numbers and I have a very strange string in the log window.
>See http://www.david-mcminn.co.uk/images/japbe1.png.

This is no bug,its a feature (realy, no joke!). Your Cursor is under a value (12312, $123 %1231 'A'), from left to right: The Hex-Value, the bin-value (4 parts!), the string-"Value" and the normal decimal value.

>7) Would it be possible to have some sort of popup which shows the
>parameters of functions and procedures? It is very nice to have an auto-
>complete for my own procedures, but I can never remember the
>parameters :)

Look right of the X/Y-Position of the cursor. It shows the parameter and a short information. When your own procedure is declared or definied in this file, the parameters should also be showned.
Type
Textgadget(nr,x,y,asdf,asfd,afsd,fasdsfd)
and look right of the x/y-position. The actual parameter should be highlighted.

>8) Double-click on "XIncludeFile", etc, to open that file would be nice
>(same as with the default PB editor).

In Work...

>9) Your Find and replace is excellent! (One of the things that annoys me
>about the defualt PB editor :)

Thanks

>10) How do I get the "CompileThis" to work? I have a set of files open,
>switch to my main file, select "Set as main file" from the menu, switch to
>another file, but "Compile & Run" always tries to compile the file I am
>currently editing. I cannot find anything in the editor which is labelled
>"CompileThis"?

"Set as main file" only affekt all open .pbi not .pb. Why? I always have a open test.pb to test short things. But in the compiler-options you can set this manual for all files.

>11) Procedure folding and "Load block" kick ass! ;)

What do you mean?

>12) In the "Var" section of the browser window on the right, all the fields
>from my structures are shown. Would it be possible to indent them, or
>hide them, or show them in a different colour?

It is not so easy to find out, what is what. I can only check one line and only the actual file. in the Var-Field are everything what doesn't fit in the other groups. for example labels.
The Problem with Proc. Here you found all Procedure, LinkedList and Dims.

>I realise that some of these reports are not very good. Please let me
>know if you want more information or some proper tests. Your editor is
>very good and I would like to see your work continue.

done :)
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

GPI wrote:>11) Procedure folding and "Load block" kick ass! ;)
What do you mean?
Translating for GPI ;-) : Er meint nur, dass des beides Oberaffengeile Features sind.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Num3 wrote:where does one download a compiled version of scintilla DLL :?: :?: :?:
In the first zip should be the dll. It is called scilexer.dll (or something like this)
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

New Version:

http://caosandkin.bei.t-online.de/pureb ... eview2.zip

enable_error
is still missing, because my sources of the editor was to old...

Please check the double open in the preference.
woki
User
User
Posts: 23
Joined: Fri Apr 25, 2003 4:48 pm
Location: Germany

Post by woki »

Dialog opens only once - that's ok.

Thanks for your excellent program.
Post Reply