Page 1 of 3

jaPBe - Preview (just another PureBasic editor)

Posted: Sat Jun 28, 2003 1:31 pm
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

Posted: Sat Jun 28, 2003 9:18 pm
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.

Posted: Sat Jun 28, 2003 9:51 pm
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 :!:

Posted: Sun Jun 29, 2003 11:55 am
by GPI
Ok, i fixed some bugs and add the toolbar. Also Find works now.

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

Posted: Sun Jun 29, 2003 1:58 pm
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

Posted: Sun Jun 29, 2003 4:57 pm
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.

Posted: Sun Jun 29, 2003 5:08 pm
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

Posted: Sun Jun 29, 2003 7:24 pm
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

Posted: Sun Jun 29, 2003 8:43 pm
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.

Posted: Sun Jun 29, 2003 10:19 pm
by Num3
where does one download a compiled version of scintilla DLL :?: :?: :?:

Posted: Sun Jun 29, 2003 10:41 pm
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 :)

Posted: Mon Jun 30, 2003 11:42 am
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.

Posted: Mon Jun 30, 2003 12:12 pm
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)

Posted: Mon Jun 30, 2003 7:27 pm
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.

Posted: Mon Jun 30, 2003 8:48 pm
by woki
Dialog opens only once - that's ok.

Thanks for your excellent program.