What's new in gPHPEdit 0.9.50

The first 'major' release of gPHPEdit was version 0.9.50. The following are the features that were new to this release. This features are also present in subsequent releases of gPHPEdit. Also check out the pages for features added in later releases.

File Interface

Now interfaces better with GNOME 2.06+

Now uses File Choosers rather than File Selections
gPHPEdit now uses the new file chooser dialogs rather than the old style File Selections. Remember to use Ctrl+L to popup the Location entry

Recently Used Files
gPHPEdit remembers up to 10 of your last used files for quick reloading (File|Reopen recent).

Virtual File System
gPHPEdit now uses GNOME-VFS for opening files so opening/saving to remote locations over SSH/SFTP/FTP is possible.

Last Folder Used
gPHPEdit's file open dialog remembers your last opened folder (unless you have an active file open, in which case it still reverts to that folder).

Empty File When Starting
To enable you to get typing quicker, gPHPEdit now opens an Untitled file when you start it. If you don't want to use it, don't worry about closing it, just choose the open file dialog and gPHPEdit will automatically close the Untitled file if it hasn't been used.

Plugins

Want to add your own enhancements, now program them in your choice of language?

Simple Plugin Architecture
You can write plugins in any language (for example BASH with Zenity GTK dialogs) and have gPHPEdit call them and pass in a selection of text or the current filename. Your plugin can either replace the selection (or insert if no selection was made) or open a new file.

System or User Specific
You can either save the plugins in /usr/share/gphpedit/plugins/ for everyone to use on your system or in ~/.gphpedit/plugins/ for the current user.

How To Write Plugins
For more information on how to write plugins, see our plugin documentation or view/download some sample plugins. If you wish to submit your plugins for use on this site, please email them to plugins@gphpedit.org with some introductory information. We will only host plugins licensed under the GPL, so please confirm that in your email.

Code Templates

Streamline your coding by allowing gPHPEdit to insert commonly used code, comments or structures

Starter Structures included
Within the editor type the name of a code template and hit Ctrl+J and it will insert the template you typed (keeping consistent indentation). It comes with a few built in, try typing ife and hitting Ctrl+J (immediately after the 'e'). They're simple examples but should be enough to give you a start before you add your own.

User Configurable
All the templates that come with the editor can be deleted or edited and you can add your own ones. Simple go to the new preferences dialog and the PHP Coding tab, click add and type in the name and code for your template. We advise to keep the name in lowercase and you must not use spaces in the name.

Text File Storage
All the templates are kept in a text file (called ~/.gphpedit/templates.txt) which is created when you first run the editor. If you wish to use templates you've made for another system, you could write a script to convert them for this format. This text file is in a neat format, each line is name {TAB} content. The content must be on one line, so if you want to use newline use a slash followed by an "n" (note: not the \n character but \ then n). If you want to use tabs in your template, use a slash followed by a "t". If you want the cursor positioned at a specific point instead of the end of the insertion, use a pipe character. Having a look at the file after running the editor once is probably the clearest way of understanding this.

New Preferences Dialog

More settings to customise gPHPEdit...

Font/Colour Changes
The all new preferences dialog shows a previous of your font/colour changes as you make them - to enable you to easily see the effect of your changes. The changes are made to every open tab when you click Apply or OK without having to re-open them. If you change the font or size, you are now given the option to make the change globally (to help keep your editor settings consistent). This version also recognises the new PHP5 keywords such as implements and __construct.

New Preferences
You can now ask gPHPEdit to save your session upon quitting (remember open files and positions and which tab was active) and have them restored upon restarting gPHPEdit. You can also now choose which files are recognised as PHP files, so if you use .tpl as Smarty Templates you can configure gPHPEdit to recognise them. You can also force highlighting for a currently open file using the Code|Force highlighting mode option. And finally, there is unofficial support for C/C++/Perl highlighting - just to save us developing gPHPEdit in another editor..

Hide Right Hand Guide Edge
After a deluge of emails from people who wished to hide the right hand guide edge, there is now a preference for this. No more editing the configuration file...