Editor modified (New Version 3.53 GPI 3)

Working on new editor enhancements?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by GPI.

new file associate
The Editor can open and save ".PB" and ".PBI". Also the typ of the file is not longer "File PB". It is now "PureBasic Source" and "PureBasic Include".

A "*" marks a changed source (in the panel)

Mark a File-Name (.pbi or .pb must not mark) and open the popupmenu with the right mouse button and click on "open mark". If a filename is in the mark, the file will open.
(NOTE: For this function the clipboard is cleard!)

New Menu-Item "Save all"

New Prefernce-Item (Save all; compile/run)

If the preference-Window, the Editor-Menu-etc has now full functionality.


To translate the new menu-items for other language:
open the "editor.catalog" and add 3 lines at the end of file:
Save All <-menu-item
Save all source <-preference-item
Open mark <-popupmenu-item
(the german-file is corrected)
(If this 3 lines are missing, the editor will use the english names)

WARNING!
Save your old PureBasic.EXE


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

The modified sourcecode is in the file. I have marked all the changes with ";-gpi-change" and ";-gpi-endchange".

Edit: Headline
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

seems very cool, thanks for your help !

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by GPI.

New Version!

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

*** Changes ***
My mod based on Danilo's Editor V3.53, so follow things are from Danilo:

easy insert or remove a ";" bevor a market text

double-click on IncludeFile open the included file.

It could be more. Danilo doesn't write a Readme...

---------------------------------------------------

my changes:

"*"-mark changed. (don't use 100% of resource)

Win98-Fix (default: deaktivate)
Sometimes the window is destroyed (only Win98). This happen if "returned" is pressed or the procedurebrowser is updating. I insert a redraw-command for the main-window.
If the should happen again, i need the discreption, what you have done.

Compiler Ask bevor Overwrite (default: deaktivate)
The compiler doesn't overwrite an EXE without asking for overwrite.

Preference modified
For example a new layout. USE doesn't close the window. Also the editor has full function, if a preference-window is open.

Backup (default: deaktivate)
The editor creates backups (for example: "Test.pb.bak")

Autosave bevor create execute (default: deaktivate)

DropFile - check
If the extension isn't right, the editor show a warning message.

FileList (*.pbfl)
The editor can now save FileList. For easy option of more files.

AutoSaveAll
Save only, if the source has changed

fileassociate (.pb, .pbi, .pbfl)
And work on WinNT/XP/2000. (I think, i can't test it. But i correct a error.)

And now the new items for translation
Save All ;<-Menu
Save all source ;<-Preference
Win9x destroyed Window Fix ;<-Preference
Load and Save ;<-Preference Panel
Save source before 'Create Executable' ;<-Preference
'Create Executable': Ask bevor overwrite exe" ;<-Preference
This file already exists. Do you want to overwrite it ?" ;<-errormessage
Load FileList... ;<-Menu
Save FileList... ;<-Menu
Create Backups ;<-preference
Can't delete old backup ;<-Errormessage
Can't create backup ;<-errormessage
File isn't a '.pb', '.pbi' or '.pbfl' ;<-Drag'n'Drop Errormessage
Filelist loaded. ;<-statusmessage
Filelist saved. ;<-statusmessage
Source Code ;<-preference (sub of "open last projekt")
FileList ;<-preference (sub of "open last projekt")

************ IMPORTANT ***********
I have tested everything, but it can be errors in the editor. If something bad happend, it is your fault!. (i am ill at the moment...)
I use this version!

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by GPI.

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

*** Changes 11.02.2003 ***

Save cursor position (default: deaktivate)
When saving a file, the cursor-position is also saved.

In the Window-Title shows now the FileList-Name.

When all Sources closed, also the FileList-Name is cleard.

Optional autosave of the Filelist on Exit.

FileList use now relativ path.

After pressing of the USE-Button in the preference, the preference-window is now aktiv.

The key for "block comment: remove" is now ALT+B because SHIFT+CONTROL doesn't work right (a empty line is insert).
(for soure code reader: shift+delete doesn't do anything!)

Insert Space and Remove Space
Like block comment, but insert space.

After Insert/Remove space and block comment the lines are markt again.

the editor checks the extension of every file, which is opened.

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
Post Reply