![]()
CodeWright is a fantastic programmers text editor and more, that I use both at home and at work. It has terrific capabilities to extend the editor's functionality using several different languages (including interpreted Perl and native DLL's).
If you have not heard, Borland has screwed the customer base. They purchased CodeWright as part of the Starbase purchase. The assured us at first that CodeWright would continue into the future, but then apparently almost immediately fired all CodeWright developers. They have now announced that there will be no more versions of CodeWright (though they continue to sell the last version). Even Starbase wasn't really keeping up the extension library so I have built my own and will maintain it myself. I contacted them, but Borland wasn't even willing to link to my site, proving that they have no interest in supporting the existing community (not like I was surprised after the way they "handled" us during the Starbase purchase).
This library includes all of the files that were originally on the Premia, then Starbase, then Borland web site. The original site still exists, but they have not been updating it in some time. I will be keeping this library up to date with any new extension that is sent to me. If you have an extension you want listed, please send them to cwextensions@pingbot.com. If you find an extension listed for a version of CodeWright that you cannot get to work, please let me know that as well. You can download my extensions from the links below or from the library, they are identical.
This page contains all of the CodeWright extensions that I have released for public consumption. I haven't been idle since the last release of Sort, I just haven't been releasing the new extensions. I plan to change that and start productizing the extensions (some in C and some in Perl). The next one I plan to do is an Oracle PL/SQL language extension. Keep checking back. All of the new ones are expected to be freeware.
![]()
This macro attempts to figure out what element in your XML file you are closing and fills it in for you. It is usually tied to the '/' key in CodeWright. You can tell it which file types (by extension) you want it to function with (XML, XSL, SCHEMA, etc.). For all other types the '/' key will work normally.
For example, let's say you were editing the following XML:
<test>This is a test
You are now ready to close the <test> element, so you type </. With my macro attached to the forward slash when you typed that slash it would fill in test> to end your element. Simple, but a big time saver. It's intelligent so that most of the time when you expect it to just insert a slash, it will. Of course, you don't have to attach it to the slash key, you can just as easily attach it to a function key and type <F10, for example. Download it below.
This macro is freeware, but you are expected to return any major changes to the source back to me for potential inclusion into the original macro.
When your browser asks you where to save the zip file, I suggest you put it into its own directory under your CodeWright directory (i.e. "c:\program files\CodeWright\InsertClosingTag") and then unpack the Perl file into that same directory. Complete instructions on its use can be found in comments in the Perl file itself. You must have Perl macros enabled in CodeWright to use this macro.
![]()
Sort for CodeWright is a CodeWright extension DLL. There is a version in the distributable for CodeWright, CodeWright Fusion, and Codewright-32. The extension comes complete with context sensitive help and has a preview feature so that you can view a subset of the sorted data before committing yourself. Below is a screen shot of the sort dialog.

Features of CodeWright Sort 3.0 Beta:
Download the sort distribution now (version 2.0):
Download the new 3.0 BETA version (note that if you don't know what BETA means,
you should not download this version):
(The help file has not been updated yet.)
Last updated 7/1/2004.
![]()
For other extensions try these interesting links at Borland (formerly Starbase (formerly Premia)):
Codewright Knowledge Base I haven't found their knowledge
base and extremely painful forums application very useful, but you might
get lucky.
![]()