Home of RJ TextEd
The Unicode Source editor

Information

RJ TextEd is developed in Delphi 2007 from Codegear and is released as Freeware.

The program is free to use for commercial purposes. But if you do, I would appreciate a donation.

The program has been tested in windows 98/Me/2000/XP/2003/Vista/2008/Windows 7.
Note that the language and syntax files will be replaced when installing a new version.

Download RJ TextEd

Version 6.54
Install Version

Mirror 1: Download

Portable Version

Mirror 1: Download

Plugins and tools

TopStyle Lite

This is the CSS editor RJ TextEd will use if installed. Because of a bug you need to have version 3.10, or earlier, installed before installing version 3.5.
Download version 3.10 here.
Download version 3.5 here.

Firefox preview

Alt 1. Install Firefox 3 (or later) and then install/reinstall RJ TextEd.

Alt 2. Install Firefox 3 (or later).
Then download and run this small installation file here.
Two files will be installed in the Mozilla Firefox folder (mozctl.dll and mozctlx.dll). This installation script has been updated and should install the component properly on 64 bit Windows.

Alt 3. If you are using Windows 98/Me and can't use Firefox 3, you can try the old Mozilla component found here. It contains all the files you need. Install it in its own folder (not the Firefox folder).

Create a new skin

Use this skin builder to create or modify your own skins.
Download it here.

Fonts

Although "Courier New" is an excellent mono spaced font, there are others you may want to try. On Windows Vista I would recommend "Consolas". If you use Windows XP you could download PowerPoint Viewer 2007 here . This will install the "Consolas" font.

You could also try DejaVu here.

Version 6.54

July 22, 2010
Cut/Copy with no selection

Cut/Copy will now copy the current line + linefeed to the clipboard, if no selection is made. Cut will also delete the current line.

Paste will insert the line above the current line. This can be used to duplicate lines and is a feature found in Visual Studio.

Clipboard functions (Cut/Copy/Paste)

Made some internal changes in the clipboard functions. This should make them more reliable and maybe fix some issues.

Cut/Delete with multiple selections

Fixed an issue when having multiple selections and multiple text cursors and using cut or delete. Only the selections should be deleted.

Ctrl + LeftMouseClick to follow a link

This should work properly again.

Print selection

Should now work properly no matter in which direction the selection was made.

Version 6.53

July 13, 2010
Project

You are now only prompted to save modified project files when a project is closed. All other files are ignored.

Open File at Cursor

If a project is open, all project file paths are searched to find the file under the text cursor.

Reopen last opened files

Stopped working in v6.52. It's been fixed.

RegEx help issues in search dialog

The regex help menu inserted some wrong values. It's been fixed

Version 6.52

July 12, 2010
Project Manager

Fixed several issues in the project manager.

  • Missing files when reopen the project.
  • Add/Delete (and possibly move) issues.
  • Sorting issues.

Macro recording

"Select All" and "Goto Line #" are now recorded properly.

Column mode

Fixed several undo/redo issues. Also fixed flickering with undo/redo.

Vertical/Horizontal Split

Fixed a cut/copy/paste/delete issue with operations in the split view. Also fixed undo/redo issues.

Selection length in status bar

The selection length should now be correct for Unix/Mac files as well.

Add-ons download dialog

Fixed a sorting issue in the list view.

Version 6.51

July 4, 2010
Status bar option

Added an option to enable/disable the display of text selection length in the status bar. Displaying the selection length in the status bar can sometimes slow down editing in very large files.

Open files

Files are opened a bit faster.

Also fixed an issue with multiple document rows.

Word wrap

Fixed some issues in word wrap mode with delete and undo/redo.

Column mode

Fixed issues with tab characters and undo/redo.

Reload current document

Added as a new menu item in the "File" menu. You can also set a keyboard shortcut for this action.

Project Manager

Made some minor changes that may fix issues some people have with the project manager.

Version 6.50

June 19, 2010
Microsoft Input Method Editor (IME)

Better Microsoft IME support. The editing will take place in the text and not in an external window.

Synchronized scroll in dual document view

Added synchronized scrolling of the two active documents in dual document view. The feature is available in the "Windows" menu or by using a toolbar button. The current scroll position in the two views are not changed when activating this feature.

Project Manager

Several changes have been made to the project manager in this version.

  • You can now create new virtual folders in the project tree.
  • Rename folders by a (slow) double click on the folder name.
  • Enabled drag n drop of files and folders. Files and folders can now be moved in the project tree.
  • You can now add remote files (FTP/SFTP) to the project.
  • Double click on a remote project file will download it in the background.
  • Upload and download of remote files are independent of the built in (S)FTP client. You don't have to be connected to open/save a remote file.
  • Fixed many issues when using projects.
  • Fixed many issues when saving remote files.
  • Option to set the default project file folder. This is the location used with the "Save As..." dialog.
  • Option to add new (created) document to the project automatically.

Added an "Add to project options" menu item in the project menu with 2 options:

  • Add to selected tree branch
  • Add using a relative file path

Fixed several issues

  • Create new project issues
  • Add folder and duplicate files issues
  • Delete issues
  • Sort issues

Highlight colors

You can now set the highlight colors used with the search "highlight" feature.

Improved color dialog

Added a color wheel and made several improvements to the color dialog.

(S)FTP favorites

You can now add remote directories as favorites. The stored favorites are unique for each connected server.

Macros

You can now set any available shortcut to your macro.

Goto next/previous or numbered bookmark should now work in a macro.

Misc
  • Find results can now be exported to the clipboard.
  • Program should now handle large DPI system settings.
  • Added extended search option to follow active document folder.
  • Fixed a syntax highlight issue with blocks.
  • Fixed some reported issues in the forum.

Version 6.40

May 19, 2010
Color dialog

Created a new color dialog that includes:

  • Web safe colors with preview when hovering over the color palette.
  • Color picker. Click on button and select a color from anywhere on the screen.
  • Standard color dialog button.
  • Edit the color in hex form.
  • The color under the text cursor is used when opening the color dialog.

Close dual document view

A dialog is displayed when you close the dual document view with files still in the right view. The dialog gives you three options:

  • Close the files
  • Move the files to the left view
  • Hide the files

The last selected option is always remembered. You can also select to never display this dialog again. To display the message again you can change an option in the options dialog.

I've also added a tab menu item to move all files to the left view.

Synchronized editing

You can now set the background color in options - Highlighters section.

Word wrap

  • Moved the menu item to the "View" menu.
  • Fixed an issue when typing a character and you have selected text.
  • Fixed an issue that sometimes messed up undo/redo. This issue may have affected normal editing as well with some very random behavior.
  • Fixed some minor editing issues when using "Wrap at window edge".
  • Fixed some word wrapping issues when using "Wrap at window edge".

SFTP

  • The password dialog should now be displayed properly when you haven't saved a password for you profile.
  • Error messages when the connection fails should now be displayed properly.

Replace All

You can now use \r, \n or \r\n with regular expressions. They are all treated as "\r\n" (new line). This was done to avoid document corruption and avoid situations the editor could not handle.

Undo/Redo

Fixed several issues with undo/redo.

Misc changes

  • Added a new block option to syntax files (FirstOnLine=).
  • Made some small changes in the file association dialog.
  • Fixed a small issue when using IE8 as an external browser.
  • Activating new highlighters should import the correct colors now.
  • Fixed some minor issues when using the "Windows XP" menu style.
  • The context menu item "Open file at cursor" can now use a selection.

I've also fixed some issues reported in the forum.

Version 6.31

May 5, 2010
Fixed

Because of a build problem not all updated components where included in the latest build (version 6.30). It's been fixed and to avoid confusement I've updated the version to 6.31.

Version 6.30

May 4, 2010
Tools (in menus)

All tools will be displayed with icons, if selected in options.

Tools (in toolbars)

  • Tools can now be added to all "Quickbar" toolbars and the editor toolbar.
  • Sub menus can be added to toolbars. The tool button will have an drop down arrow and when clicked, will display the sub menu.
  • Made some changes in options to enable sub menus in toolbars.

Bookmarks

Bookmarks are no longer displayed using small icons in the left margin. Instead a filled rectangle is used around the line number with its own background color. The upper right corner is used to indicate a normal bookmark (*) and a numbered bookmark (0-9).

The bookmark menu now looks like below: Toggle Bookmark (Ctrl+F2) Previous Bookmark (Alt+F2) Next Bookmark (F2) Clear all Bookmarks Delete bookmarked lines - Numbered Bookmarks -- Set Bookmark -- Goto Bookmark

You can use Alt+LeftMouseButton to toggle bookmarks. Just click in the left margin to toggle them on or off.

The bookmark color can be changed in options (Preferences->Left Margin).

Goto line #

You can now go to a column using this function.

Ex. 123:14 will take you to line 123 and column 14. Ex. :23 will take you to column 23 on the current line. Ex. 123 will take you to line 123.
Fixed
  • Made the options dialog wider.
  • Fixed some display issues in the left margin.
  • Fixed some minor display issues in the options dialog with themes.
  • Solved some resize issues.
  • Fixed several minor issues.
  • Fixed several issues listed in the forum.

Version 6.20

April 9, 2010
Project Class View

The project class view can list all classes, class members and functions in your project. It also includes a project wide TODO list. NOTE's and TODO's are listed per file and can have one of three priorities. 1, 2 or 3. Each item in the list has an icon to indicated the priority.

To add a priority in your code you should enter something like below:

// TODO,2 This todo has the priority 2 // TODO This todo has the priority 1.

Code Explorer (TODO list)

Made some changes to the TODO list. NOTE's and TODO's can have 3 priorities, indicated by 3 different icons. To add a priority in your code you should enter something like below:

// TODO,3 This todo has the priority 3 // TODO,1 This todo has the priority 1.

Select to begin/end of screen line

Added menu items to select to begin or end of row. In word wrap mode this function only select on the visible line (row). When word wrap is turned off this function work exactly the same as "Select to begin/end of line".

Delete to begin/end of screen line

Added menu items to delete to begin or end of row. In word wrap mode this function only delete on the visible line. When word wrap is turned off this function work exactly the same as "Delete to begin/end of line".

Selection

Changed selection to include linefeed/carriage returns. When more than one line is selected you can see an extra invisible character selected with each line. This includes blank lines as well, making the selection easier to see.

ASP/PHP tag color

It is possible to set the font style and color for ASP and PHP tags in options (highlighter section).

Word Count

Added a word count function. Listed items in the result window are:

Words:
Characters:
Spaces:
Tabs:
Lines:
Blank lines:
Largest line:

The result is displayed in 2 columns.

"Total" for the entire document and
"Selection" for inside the selected text.

Delimiter Option with double click selection

Added an option to change the characters limiting the selection made with a double mouse click.

I've also added an option for Alt+Double click.

Space and tab characters are always added automatically to the delimiter string.

Alt+Double click

You can now use Alt+Double mouse click to select text. You can set which symbols to limit the selection in options.

Optimized window painting and code

Made some changes to speed up painting of the main window. Also made several optimizations in code to speed up text drawing, scrolling, open/close of files and start/close of program.

    Also fixed some issues like:
  • Undo/Redo in word wrap.
  • Random exception errors at close down.
  • Closing files was sometimes slow.
  • Closing program was sometimes slow.
  • An error could occur when closing all files one by one.
  • An error could occur when closing all files and then opening a new one.
  • Program could sometimes freeze when behind other windows.
  • Program could sometimes freeze when opening a file and using dual document view.
  • Fixed a small issue with parameter hints.
  • Html highlighting issue with line comments in text.

Plus a few issues reported in the forum.

Version 6.10

Mars 15, 2010

New features in this version:

Alternative Font

An alternative font is a second font you can switch to, e.g. if you want to display the text using a fixed or proportional font.

* Set an alternative font for all file types in options.

* Select an alternative font in the view menu.

* Switch between fonts in view menu (or using keyboard shortcut).

TODO list

Added a TODO list to the code explorer tab. It will find comments like // TODO // NOTE /* TODO ... */ Please note that TODO or NOTE must be on the same line as the comment identifier and the letters must be capitalized.

Search result context menu

Added a context menu in the search result view. It contains items to:

Load from file... (load a previously saved file)
Save to file... (save the result to an XML file)
Export to text file... (save the results to a plain text file)
Clear (clear the view)

Replace All Undo/Redo

Rewrote the functions to use much less memory. If you use replace all repeatedly, you may end up with a very large undo buffer in previous versions.

The difference with this new code is huge.

Select/Delete functions

Added several new select and delete functions.

Select:
- Sentence
- to begin of sentence
- to end of sentence

Delete:
- Sentence
- to begin of sentence
- to end of sentence

Also fixed select/delete to begin/end of line when using word wrap.

Nested comments

Fixed some issues with nested comments and made sure you can use comment identifiers that contain a line comment identifier.

E.g.

LineComment = '
CommentStart = '*
CommentEnd = *'

Auto Complete and Tag Complete Variables
You can now define variables when creating completion items in a syntax file.

E.g.
In the syntax editor we can add the following items to the auto complete section:

@myVar1
- Item 1
- Item 2
- Item 3

@myVar2
- Item 1
- Item 2

MyClass1.
- @myVar1
- @myVar2
- Item 6
- Item 7

Spell check dialog

Tags are now ignored when using the spell check dialog. attributes in XML tags are still checked.

New script object (WStrings)

This object can be used to store WideStrings (Unicode). It's basically a normal string list but uses WideStrings instead of ANSI strings.

Misc

I've fixed several issues and made several small improvements. Most changes should be listed in the forum.

Version 6.0

Feb 12, 2010
Multi Paste

As with all other multi-edit features you position multiple text cursors or make several selections using Ctrl+LeftMouseButton. Then simply use "Paste" (Ctrl+V) to insert text, from the clipboard, in all instances at once.

This feature works with text clips that contain several lines, but there is one limitation. You can only insert one multiple line clip per line. If you have two selections on the same line, only the first selection is replace when you paste. You can insert as many one line clips as you want though, even on the same line.

Syntax Files
  • I've added a JSP syntax file in this version.
  • You can now use [] arrays with auto completion, e.g. List[index].<members>
Text Clip Manager

Added buttons to sort or position your clips as you like in the lower list. You can also insert separators by adding an item called "-".

Misc
  • Updated the help on syntax files.
  • Double click on document tab bar will open a new document.
  • Added option to assign files without an extension to a highlighter. (Preferences -> Editor - File).
  • Added a button for RegEx help in all search dialogs.
  • May have fixed some Unicode path issues.
  • Illegal control characters are now removed when you open the file. A message is displayed to inform the user when this happens.
  • Added a silent option to the "Document.ReplaceAll" script function.
  • Updated the regex dll to a newer version.

Several issues has been fixed in this version. Most very minor and are reported in the forum.

Version 5.90

Jan 24, 2010
Multi Edit and multi select

Multi edit and multi select let you select or position a text cursor in several places at ones, by holding the CTRL key. Ones you've made your selections or cursor placements you can start editing. All instances at the same time.

Please check out the "Multi Edit and Multi Select" topic in the help file for more information.

You can use most normal functions like typing, backspace, delete and cut/copy/paste. You can also use the case functions for selections.

Some restrictions though when editing two, or more, instances at ones.

  • You can only delete till the end of line. If you reach EOL on one line, nothing will happen in that place when you hit the "Del" key.
  • You can only backspace till the beginning of line.
  • Some keys like "Enter" or the arrow keys will bring you out of multi edit mode.

User Clipboards

Added 5 user clipboards. You can switch between "Windows Clipboard" and the user clipboards with the "Shift+Alt+0..5" shortcuts or in the "Edit" menu. After switching you use the normal cut/copy/paste functions.

Please check out the "User Clipboards" topic in the help file for more information.

Project Manager

Added some new features and fixed some issues.

  • Project name is displayed in the title.
  • Last opened files are remembered.
  • You are asked if you want to close open project files when you close the project, open a new one or create a new project.
  • The project tree state is remembered.
  • You can now filter out files when adding a folder to the project.
  • Fixed several issues.

New options

I'll added some new options:

  • Minimize on Close (will close all open files before minimize)
  • Vertical scroll distance

The Help

I've added a few topics in the help (Function Tutorials Chapter).

Fixed

I've fixed several issues in this version. Some were reported in the forum. I also fixed several other minor issues in this version.

Version 5.80

Dec 21, 2009
Project file navigation and auto completion

Made some changes in the source code parsers to include more information about the code. This information is used with auto completion and to navigate in the code.

  • Auto completion ( Ctrl + J ) now includes all functions (not class members) available in your project files, as well as all class members. To display functions just press Ctrl+J at an empty spot.
  • Go to Declaration. Added as an context menu item. Position the text cursor over a function, class object or a class member and select the context menu item. The correct file will open and the text cursor will be positioned at the function or class member declaration.
  • Go to Implementation. Added as an context menu item. This is used with C/C++ and Delphi/Pascal files. Class members are, in these languages, divided into a declaration and an implementation part. You can e.g. use the context menu item "Go to Implementation" when the text cursor is over the class member declaration in header file e.g. Test.h, and "Go to Declaration" from the Test.cpp file to navigate back to the declaration.
  • Also fixed a few issues with projects and parsing.

Fold selected text

This feature can be used to make selected text fold able.

  • Create fold from selection: Select text and use the context menu item or editor tool bar item to make the selection fold able. A normal [+] node should be visible at the top of the selection.
  • Remove selection fold: Position the text cursor inside the fold and select this feature to remove the selection fold.

New syntax file fold option

Added a new fold option to handle "If" statements in Visual Basic that doesn't have an "End If" at the end.

NotAlwaysEnded = <Yes|No>

Insert line breaks

Rewrote the feature. It should work properly in word wrap mode and with undo/redo.

Remove line breaks

Rewrote the feature. It should work properly in word wrap mode and with undo/redo.

Open selected files (in the project tab)

Can also be used to open a folder. Just select a folder and use "Open selected files".

Fixed

Fixed several bugs reported in the forum, or sent by email. See the forum for more information.

Version 5.75.1

Nov 24, 2009
Changes

* Fixed a language issue. Menu and dialog text's may not have been displayed properly.
* Made a small change in the "New project wizard".

Version 5.75

Nov 23, 2009
Project manager

Made several changes to the project manager.

  • Added multiple selection. Can be used with "Open selected files".
  • Hints for all project files, showing the full path to the file.
  • Sorting by file extension and name. This will group files by extension.
  • Added a context menu item to set the maximum sub folder level. Default is one.
  • Relative parent folder items (..) are now skipped.

Explorer Options

Added several option to the explorer tabs.

    Tree list
  • Display Buttons
  • Display Icons
  • Display Tree Lines
    File list
  • Display Icons
  • Display Folders
  • Highlight open Files
  • Use colors for added extensions

Highlight

Made some changes to the highlight text feature and fixed some issues.

  • Added "Unhighlight All".
  • Highlight Words should automatically select the nearest word(s). Even when using selection.
  • Fixed some menu issues.

Printing

Made some internal changes to the print routines. They should be slightly faster and work better with word wrap.

Save as Html/RTF

Made some internal changes to the conversion routines. They should work better with word wrap turn on.

Search

Fixed several issues with highlight found items.

  • Highlight found items should work now with regular expressions.
  • Fixed issues with word wrap and highlighting.
  • Highlighting should work when doing a multiple line search.
  • Fixed an issue where the extended file search could be interrupted if a file could not be opened.

Misc
  • Fixed several undo issues in word wrap mode.
  • Fixed several minor issues and made some small improvements.
  • The MRU list is updated when closing a document.
  • Added an error message when "Goto line" is out of scope.
  • Fixed some auto completion issues in projects.
  • Fixed several bugs reported in the forum.

Version 5.74.1

Nov 2, 2009
Fixed
  • Command line issue. This also made explorer context menu execution to stop working.
  • Fixed some serious undo issues.
  • Fixed a delete selection issue.

Version 5.74

Nov 2, 2009
Memory usage

The editor does now free up some memory when you first start the editor and when you close documents.
Also, a memory address space greater than 2GB (up to 4GB) is now supported. This is supported on Windows x64 or Windows 32-bit (with the /3GB option set).

Startup speed

Made some changes that should improve the upstart speed a little. Don't expect too much though...

Command line parameter

Added a new command line parameter to use a different settings file than the default one.

E.g. TextEd.exe /settings "<path>\TextEd.ini"

Verbatim strings in C#

Verbatim strings in C# are now supported. Also added a new option to syntax files called "VerbatimStringStart=".

Enter and horizontal scrolling

Changed the behavior when you hit the enter key. Before, this always made the editor scroll to the left most position. Now, the editor will only scroll the display when necessary.

Syntax Editor

Made some changes to the syntax editor. Changed the file dialogs to standard dialogs. And added a new option "VerbatimStringStart=".

Column mode and word wrap

You can now activate column mode when using word wrap. Word wrap will be turn off and you can start making a selection or start editing.

Fixed
  • Improved delete selection speed. This may speed up several functions in the editor.
  • Fixed an issue with the tab list position on some systems.
  • Fixed several replace and replace all issues.
  • Fixed some dialog position issues on Windows 7 and Windows Vista.
  • Fixed several issues reported in the forum. Please check the forum for more details.

Version 5.73

Oct 24, 2009
New command line parameter

Added a new command line parameter /hex to open a file in the hex editor. E.g. TextEd.exe /hex MyFile.bin

Shell extension (Explorer context menu "RJ TextEd" item)

Fixed a few issues with the shell extension, e.g. "Run as Administrator" stopped working. Also made a small change in the install script when installing the rjshell.dll and rjshell64.dll files. If an older version is replaced the script will ask the user to restart windows if necessary.

  • Fixed a "print all open documents" issue when word wrap is used.
  • Fixed an issue when the option "Reopen last open documents..." is used. This setting may open the dual document view even if there is no document to open.
  • Fixed several script issues and some issues when the script editor is used.
  • Fixed several issues reported in the forum. Please check the forum for more details.