jaPBe - Editor-Core

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

Post by GPI »

http://caosandkin.bei.t-online.de/purebasic/jaPBe.zip

I change many little thing
;/ and ;- are colored now diffrent. All Style-Definiation are at the beginning, also there a some Variables, who will change the Editor-Outfit. Play with it.
The Editor is now resizeable and the list on the right side are now colored. The Bookmarks have now to diffrent colors and when you click in the Column-header, you can change the sorting.

Also a save-procedure is in the code, and it save the foldstate for each fold.

If somebody found a bug or had new ideas, please post it.

GPI
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

8)
GPI wrote: If somebody found a bug or had new ideas, please post it.
OK will play with it...
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

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

Ok, what have i change:
When the cursor is under a number (12312,$12312,%12312,'ab') the hex, bin, chr and dezimal-value are shown.

Select a text and:
Tab > increase the indent
Shift+Tab > decrease indent
Ctrl+Tab > autoformat the indent (if - else - endif, and so on)
Ctrl+B > Comment Block
Alt+B > UnComment Block

On a Fold
Ctrl+D > (un)Fold

Alt+D > Fold All
Alt+Shift+D > UnFold All

Hope, that i don't forget something.
Works under 98SE and XP. I can't test 2k.

Also the source should load faster (when it saved with jaPBe) and removed some bugs (for example, when you tried to load scintilla.pbi).

EDIT:
A Question. At the moment the Hex/Bin-Values are shown in the ToolTip-Line. Should i insert a new Line for the Values or should i combine the Tooltip and Value-Line as in the editor.

Edit 2nd:
In the Zip are two icons: One 32x32, the other 16x16. How can i combine this two icons in one?

GPI
ebs
Enthusiast
Enthusiast
Posts: 561
Joined: Fri Apr 25, 2003 11:08 pm

Post by ebs »

GPI,

To combine the two icons, I used a freeware Icon Editor called SnIco Edit (http://snidesoft.cjb.net/). There may be an easier way, but here's what I did:

1) Load the 16x16 icon and export it as a bitmap.
2) Load the 32x32 icon.
3) Add a new 16x16 true-color icon and import the bitmap.
4) Save the new icon file which contains both icons.

If you want, provide an e-mail address and I can send the icon file to you.

Regards,
Eric
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

>To combine the two icons, I used a freeware Icon Editor called SnIco Edit
>(http://snidesoft.cjb.net/). There may be an easier way, but here's what I
>did:

Ok, worked. But the compiler is mor inteligent than i. It use only the first Icon, but i can insert the container-icon with resource-hacker :)

Here a little preview: The File-Menu is complete (also the preferences)


GPI

http://caosandkin.bei.t-online.de/pureb ... e-file.zip
dige
Addict
Addict
Posts: 1405
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Post by dige »

Great work GPI!
Post Reply