Product info

Add-on overview ยป xEdit

xEdit
A full featured Programmer's Editor
xEdit is a full featured Programmer's Editor, written exclusively in the xHarbour language and fully extendable using xbScript.
Advantages of xEdit

xEdit offers one of the most extensive, accurate, and extendable Syntax Coloring for the xHarbour language in specific, and any other language in general. Included colorizers are for:

  • xHarbour .prg files (built-in, and sample script))
  • C/C++. (sample script)
  • Resource .rc files. (sample script)
  • xBuild .log files. (built-in)
  • General .ini files. (sample script)
xEdit offers full and automated support for collapsing source level Entities. xHarbour sources auto detect the following Entities:
  • Functions
  • Procedures
  • Class definitions
  • Methods (requiring the optional CLASS <ClassName> clause)
You may collapse the complete source using either Ctrl+Shift+E, or the <View->Collapsed> menu option. You may Collapse/Expand any specific entity by either clicking it's respective Plus/Minus Icon, or Ctrl+E when on the Entity's first line.

Besides the features mentioned above and the obvious functionalities such as find and replace, line count, undo and redo action, xHarbour's xEdit has numerous advantages:
  • xEdit features a seamless integration of xHDN. Read more about this topic in the xHDN integration section of this page.
  • The treeview offers great functionality when working with multiple files at the same time.
  • Changes in the code are marked with a yellow square in the left margin.
  • xEdit offers direct navigation to any xHarbour source level Entity. You may navigate using the <Goto Dialog> by means of Ctrl+G, the <Edit->Go To> menu option, or using the <View->Entities> menu option.
  • xEdit supports Rectangular Selection by means of Ctrl+Shift+F8. Once the selection operation is completed by means of a Copy/Cut operation and/or any edit operation, selection mode auto reverts to normal mode.
  • xEdit supports Bookmarks, you may bookmak any line by pressing Ctrl+B in that line. you may navigate to any Bookamrk using the <Goto Dialog> by means of Ctrl+G, the <Edit->Go To> menu option, or using the <View->Entities> menu option.
  • xEdit supports Block Indentention and UNindenetention by means of the TAB/Shift+Tab keys. Indenetion and UN-Indentation supports both Normal Selecetions and Rectangualr Selecetions.
  • xEdit supports Auto-Save, when you switch to alternate application (may be turned off using xEdit.ini), and will auto detect external modification or deletion of any edited file.
  • xEdit supports Workspaces (.xws files) which allows for easy management of multiple projects.
  • xEdit supports macros aka scripts written in the xbScript language. Such scripts have complete access to the comple Editing engine, Methods and Properties. Scripts may provide KB macros, and even custom coloring. You may review the included *.xbs files and xEdit.ini for various samples.
  • xEdit supports "code templates" by means of scripts, i.e. the included PrgKeys.xbs implements code templates for the following code constructs:
    BEGIN SEQUENCE
       RECOVER USING ...
    END

    DO CASE
       CASE ...
    ENDCASe

    FOR ...

    NEXT

    IF ...

    ENDIF

    TRY

    CATCH

    END

    WHILE ...

    ENDDO
    The above templates are activated by typing: B, D, F, I, T, or W followed by a <Space>, while at any white space in the begining of any source line in prg (and related) source files.
You are encouraged to review and test the different settings included in xEdit.ini, since these settings are not yet controllable by any menu option.
The look & feel of xEdit

At first glance, xEdit looks like an improved text editor. But xEdit offers more than that. Let's have a look at some screenshots.


xHDN integration in xEdit

xHarbour's xEdit supports xHDN integration. This means more efficiency, more comfort while programming and less hassle to look up the information you need. Simply let xEdit do it for you!
What does the xHDN Integration in xEdit offer?

xHDN integration offers relevant information about functions, commands and so on, straight from the xHDN website. Lets look at some advantages.
  • A simple push on the "F1" key opens up xHDN with a search result of all functions, commands, classes, statements and operators matching the currently selected word in xEdit.
  • The xHDN documentation is daily updated with new and additional information.
  • To prevent too much pop-up windows with xHDN documentation, xEdit re-uses the same window for each search. When exiting xEdit, the possible remaining window is closed.
How to use the xHDN integration?

By simply hitting the "F1" key, when the caret is inside a word, xEdit takes you to the xHarbour Developer Network and finds every possible match from its resource database. xHDN offers you a nice overview of the search results. This could not be made easier nor more efficient.

Take a look at the xEdit Training Center for instructional movies.