GPHPedit
Encyclopedia
gPHPedit is a GPL
GNU General Public License
The GNU General Public License is the most widely used free software license, originally written by Richard Stallman for the GNU Project....

-based, small UTF-8
UTF-8
UTF-8 is a multibyte character encoding for Unicode. Like UTF-16 and UTF-32, UTF-8 can represent every character in the Unicode character set. Unlike them, it is backward-compatible with ASCII and avoids the complications of endianness and byte order marks...

 compatible text editor
Text editor
A text editor is a type of program used for editing plain text files.Text editors are often provided with operating systems or software development packages, and can be used to change configuration files and programming language source code....

 for the GNOME desktop environment
GNOME
GNOME is a desktop environment and graphical user interface that runs on top of a computer operating system. It is composed entirely of free and open source software...

, built using Scintilla
Scintilla (editing component)
Scintilla is a free library that provides text-editing functions, with an emphasis on advanced features for source code editing. SciTE , Notepad++ and Notepad2 are standalone editors based on Scintilla.-Features:...

. It was originally written by Andy Jeffries, and is currently being maintained by Anoop John. It is similar to gedit
Gedit
gedit is a text editor for the GNOME desktop environment, Mac OS X and Microsoft Windows. Designed as a general purpose text editor, gedit emphasizes simplicity and ease of use...

 with the difference that it is designed for PHP
PHP
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document...

 and HTML
HTML
HyperText Markup Language is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages....

 text editing. The current version is 0.9.91, released on July 5, 2006.

Highlights PHP/HTML

gPHPEdit will recognise PHP and HTML files and colour highlight the file during editing. It recognises all PHP functions up to and including PHP 4.3.0.

Highlights CSS

gPHPEdit will recognise CSS
CSS
-Computing:*Cascading Style Sheets, a language used to describe the style of document presentations in web development*Central Structure Store in the PHIGS 3D API*Closed source software, software that is not distributed with source code...

 files and colour highlight the file during editing. It highlights valid CSS classes
Class (computer science)
In object-oriented programming, a class is a construct that is used as a blueprint to create instances of itself – referred to as class instances, class objects, instance objects or simply objects. A class defines constituent members which enable these class instances to have state and behavior...

 and descriptors.

Highlights SQL

Currently in beta test phase, gPHPEdit will recognise SQL
SQL
SQL is a programming language designed for managing data in relational database management systems ....

 files and colour highlight the file during editing. This functionality is in its early stages of development and may have bugs
Software bug
A software bug is the common term used to describe an error, flaw, mistake, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or causes it to behave in unintended ways. Most bugs arise from mistakes and errors made by people in either a program's...

. The files will not be affected, but may not appear correctly highlighted.

Dropdown Function Lists

Start typing the first few characters of a PHP function name and gPHPEdit will drop down a list of all the PHP functions that match. It recognises all PHP functions up to and including PHP 4.3.0.

Function Parameter Popups

After typing the name of a PHP function and hitting the open parenthesis
Bracket
Brackets are tall punctuation marks used in matched pairs within text, to set apart or interject other text. In the United States, "bracket" usually refers specifically to the "square" or "box" type.-List of types:...

 "(" button, a list of the required/desired parameters will appear to help you remember the order of them.

Class/Function Browser

If your file is in the same location as other PHP files, gPHPEdit will automatically examine them and display a list of all the functions and classes in those files in a tree view on the left hand side of the editor. This view can be hidden/shown with a keypress for those times when you wish to use the full width of your screen.

Lint Checking

If you have the command line binary installed for PHP, gPHPEdit can use it to do a lint
Lint
Lint may mean:* Fibrous coat of thick hairs covering the seeds of the cotton plant* Lint , an accumulation of fluffy fibers that collect on fabric** Navel lint, an accumulation of fluffy fibres in one's navelLint may also refer to:...

 check on your code. If the command line binary finds a problem it will underline the appropriate line with a wavy redline (ala Microsoft
Microsoft
Microsoft Corporation is an American public multinational corporation headquartered in Redmond, Washington, USA that develops, manufactures, licenses, and supports a wide range of products and services predominantly related to computing through its various product divisions...

 Word's spell check).

Incremental Search

Either click in the box or hit Ctrl+I to start typing some text to match. As you type the editor will find text that matches. If you know there are multiple matches, hit Enter each time to cycle through them. When you are finished searching, hit Escape to send the focus to the editor to make the changes at the last found position.

Go To Line

If you know the line you wish to edit (for example from an in-browser error message), click in the box or hit Ctrl+G to type a line number. When you press Enter, gPHPEdit will go directly to that line ready for editing.

Context Sensitive

Simply highlight the PHP function you wish to lookup, hit F1 and the desired help page will open in a new tab within gPHPEdit (provided that you have the PHP documentation installed in the correct place and that you have the gtkhtml2 component installed).

Hyperlinked

After viewing one of the context sensitive
Context-sensitive help
Context-sensitive help is a kind of online help that is obtained from a specific point in the state of the software, providing help for the situation that is associated with that state....

 pages, the links within the page are active so you can click from page to page to view related help pages.

Fast Startup

Because the help system is an integral part of gPHPEdit, there is no startup time when hitting F1 - the page loads almost immediately after the button is pressed!

Porting/Testing

Version 0.9.91 is now in Debian
Debian
Debian is a computer operating system composed of software packages released as free and open source software primarily under the GNU General Public License along with other free software licenses. Debian GNU/Linux, which includes the GNU OS tools and Linux kernel, is a popular and influential...

 Stable
Stable
A stable is a building in which livestock, especially horses, are kept. It most commonly means a building that is divided into separate stalls for individual animals...

 thanks to Lior Kaplan.

gPHPedit is available as a stable Gentoo
Gentoo Linux
Gentoo Linux is a computer operating system built on top of the Linux kernel and based on the Portage package management system. It is distributed as free and open source software. Unlike a conventional software distribution, the user compiles the source code locally according to their chosen...

 binary
Binary file
A binary file is a computer file which may contain any type of data, encoded in binary form for computer storage and processing purposes; for example, computer document files containing formatted text...

.

It has also been ported to FreeBSD
FreeBSD
FreeBSD is a free Unix-like operating system descended from AT&T UNIX via BSD UNIX. Although for legal reasons FreeBSD cannot be called “UNIX”, as the direct descendant of BSD UNIX , FreeBSD’s internals and system APIs are UNIX-compliant...

although not officially supported by gPHPedit.org

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK