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
Install Version
Mirror 1: Download Beta release |
Portable Version
Mirror 1: Download Beta release |
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.0
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
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
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
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
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.
- Display Buttons
- Display Icons
- Display Tree Lines
- 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
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
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
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.
Version 5.72
- Fixed a few issues in the install script.
- The context menu should be installed properly now.
- Fixed several undo/redo issues when using undo after the file has been saved.
- Fixed an auto complete issue with XML tags.
Version 5.71
New dll to handle explorer context menu item
There were some issues with the old dll so I made a new one. Two dll files included are rjshell.dll and rjshell64.dll.
Faster startup
Found a few bottlenecks and changed the compression of the exe file. It should start a little faster.
Macro shortcuts
You can now use Atl+0 .. Alt+9 as macro shortcuts.
Copy line if no selection
If no selection is made, the whole line is copied to the clipboard when using "copy to clipboard" (Ctrl+C).
Drag n drop
When using drag n drop, in the editor, the text selection is preserved. This makes it easier to copy text to multiple destinations using drag n drop.
Script function
Added "GetCurrentLanguageFileName()" to the MainApp object.
Html entities
Enteties are now highlighted in the text. You may have to change the color though.
Fold highlighting in Html
Enabled fold highlighting in Html code. It looks good with proper formatting.
Fixed
Fixed several issues in this release including a serious SFTP issue. Please check the forum for more information about fixed issues and changes.
Version 5.70 (Updated installation)
Updated the installation script. The Firefox component was not registered properly on 64 bit Windows. (11 Oct, 2009)
Updated the installation and the program file TextEd.exe after a link error with the xmlrtl100.bpl file. (9 Oct, 2009)
If you're running v5.70 already and haven't experienced a problem described above, you don't have to update the program.
Version 5.70
SFTP (SSH File Transfer Protocol)
Added real SFTP support. Just select SFTP/SSH as your server type, user name and password and connect. That's it.
- Full support for the SSH2 protocol
- Support for most SSH2-compatible clients and servers including OpenSSH
- Can create a private/public key pair to be used with an SSH server.
- Authentication by password or by public key
- Full support for the SFTP protocols versions from 1 to 6
New text editing functions
Added several new text editing functions. I also made some changes in the edit menu. New text editing functions are:
- Move lines Up/Down
- Split lines
- Join lines
- Duplicate lines N times
- Delete blank lines in selection
New Script functions
Added script functions for the new edit functions above.
Document tabs (tab list and max tab width)
Added a tab list menu to the right of the document tabs (like in Firefox). Click on the "down" arrow
to get a list of all open documents. Select one to navigate.
The tab list is visible when using multiple tab rows as well, but multiple tab rows may not be necessary
anymore...
It is now possible to set a max tab width in options (Style and fonts).
Page controls and tabs
Changed the look of the left/right arrows that are displayed when the tabs doesn't fit the display anymore.
Also fix some flicker issues.
Paste RTF as HTML
Paste RTF data from the clipboard and convert the data to HTML. It's a very simple implementation so you may still have to do some manual editing.
Change document encodings to
Renamed the menu item "Convert codepage to" in the format menu into "Change document encodings to".
Added a More... dialog to select any encoding the system supports.
Menu bar (main menu)
Fixed some issues with key navigation using the "Alt" key. Using "Alt" and the arrows to navigate should work properly now. Also fixed a focus issue (some functions became disabled when using key navigation).
New syntax fold option \ef (INI files and folding)
This new option is used in the INI syntax file. It tells the editor to fold at end of line if no new section is found.
Drag file(s) to insert file path(s) in document
Changed the qualifier key to "Alt". Press "Alt" and drag the files to the document.
FIXED:
- PHP preview issue with "Toggle browser view" and preview windows.
- Issue with the folder dialog in extended search.
- Sort didn't work in the syntax editor for "UserMenu" items.
- Some scroll issues in the "Home" page.
- Code explorer issues with e.g. Java files.
- Function keys issue (F1 or F3 didn't always work).
- Filter index issue with the open file dialog in Vista.
- Alt Gr characters didn't always work in Windows 7.
- Undo/Redo issues in word wrap mode.
- I've fixed several other small issues as well, but I don't remember them all. Some are very minor.
Version 5.61
I've fixed a few issues in this version.
Fixed
* "Clear List" entry in the recent files menu was blank.
* "Replace All" was slow in column mode.
* Undo/redo with "Replace All" in column mode was very slow.
* Abort a "Replace All" operation didn't always work.
* The open file dialog when selecting tool item command didn't use the correct file filter.
* The filter setting in the explorer tabs was not saved.
* FTP issue when using an initial remote folder.
* A small language issue in the Syntax Editor.
Version 5.60
Home
The "Home" page has been completely rewritten. It doesn't use a web browser component anymore. From the home page you can
Create new file(s)
Select one or several files to create. Double click to create the files.
Open recent project
Double click to open the listed project.
Open recent file(s)
Select one or several files. Double click (left mouse button) to open the files.
Open project/files
You can also open a project or files using a file open dialog. Click on one of the "Open..." buttons.
Tutorials, help topics and support
There are three menus at the top you can use to browse tutorials, open some help topics or get support.
Syntax files (Highlighters) and syntax editor
Added some new options to be used with syntax files.
AutoCompleteCharA, AutoCompleteCharB
The auto completion character is usually a period (.). Some syntax files use a space to trigger
auto completion after the "new" keyword.
HintCharStart, HintCharEnd
Hints can be used with functions to display parameters. Usually parentheses "()"
are used, but can be anything you want. If nothing is entered "()" are assumed.
AllowEscapeOutsideString
In most programming languages a string escape is only used inside a string. But in some languages it is
valid to escape a beginning of a string (outside a string). This option is used with the Perl syntax.
Column mode
Made some changes to how paste works in column mode. Also greatly improved editing speed.
View spaces and tabs
I've compressed the previously two options into one option. Also made it possible to display toolbar buttons for "View spaces and tabs" and "View line breaks".
Highlight
Made several changes to the highlight function in the search menu.
These are the items in the highlight sub menu.
Highlight Word(s)
Highlight selected word(s), or the word under the text cursor, and all other instances of the same words in
the document. You can highlight as many words as you want.
Highlight Selection
Highlight selected text and all other instances of the same text in the document. You can highlight as many
selections as you want. The selection can be anything and does not have to be whole words. The highlighting
is not case sensitive. E.g. if "dummy" is selected and highlighted, "Dummy" will be highlighted as well.
Unhighlight Word(s)
Remove the word highlighting. If the text cursor is at a highlighted word, only this word highlighting is
canceled. Otherwise all word highlighting is canceled.
Unhighlight Selection
Remove the selection highlighting. If the text cursor is at a highlighted text, only this text highlighting
is canceled. Otherwise all selection highlighting is canceled.
Unhighlight Search
You can highlight found items using "Find All" in the search dialog, or "Find" in the extended search dialog.
This menu item can be used to cancel the highlighting.
Code folding
Fixed several issues and added a "Code folding" page in options.
Sidebar
The side bar can now be aligned to the left or right. You can toggle the position in the view menu.
Options
Added the options:
Save status -> Remember last encoding.
Use this option if you want the editor to remember the encoding used for the last opened files.
Made several changes and added a new page "Code folding".
Html dialogs
Added better language support and redesigned the dialogs.
And as always, a few issues has been fixed. Most were reported in the forum.
Version 5.51
Code folding hints
Hover the mouse over a closed code fold icon to display some of the hidden lines as a hint.
Message dialogs
Added language support to the message dialogs. (I'll update the language files as I receive the translations.)
Fixed
- Issue with text cursor movement in word wrap mode, with the option "Don't move text cursor beyond end of line" unchecked.
- Issue with code folding not being updated properly.
- Issue with closed code folding blocks and setting new options.
- An auto completion window position issue.
Version 5.50
Individual font and tab settings
Added the ability to set font and tab settings for different file types. The default types (plain text, ASCII and syntax files) are still there, but you can add new types e.g. Html, PHP...
Convert file encodings
Added a simple tool to change the file encodings. You can select as many files as you want,
and from different folders, and preview them before conversion. A check mark at each file also
enables you to exclude files from the operation.
You can backup the old files and the operation can be undone.
Backup files options
Made it possible to backup saved and auto saved files using an added .bak extension. You can also backup files to a specific folder.
Caret width option
Option to change the width of the text cursor. Normally this is set to 1 pixel.
Advanced sorting
The advanced sort dialog will allow the use of up to 4 keys with individual settings for sort order and type (ascending, descending, numeric...).
Better language support
Included tools are now translated. Added translation support to several UI items as well.
Dialog positions
Some dialog positions are now remembered throughout the session. I also added an option to save the positions.
Command line options
Added two new options.
/C - Close the entered file.
/RL - Reload a file if already opened.
Ext JS and folding
Made some improvements to allow folding of properties.
Fixed:
- Issue with tab key and radio buttons.
- Office 2000 save dialog issues.
- Browser view check mark status when switching document tab.
- Better dialog position with replace.
- Ctrl + left mouse over an URL will open it in the default browser. This should work properly now.
- Many minor issues and reported issues in the forum.
Version 5.40
Full Screen Mode
Added an item to the view menu to switch full screen mode ON/OFF. The keyboard shortcut is
CTRL+ALT+ENTER (F11 is already in use). Multiple monitors is supported (the editor enter full
screen mode on the current monitor).
A button is displayed to enable you to exit full screen mode even without the keyboard shortcut.
When using themes, the title frame is still visible.
Drag and drop files into the document (and cursor position)
When dragging files to the document using the ALT key, the text cursor will follow the mouse to indicate the position to insert the file paths. This should work from external explorers as well as from the explorer tabs.
Open file at cursor
Open the file at the text cursor. This is added as a context menu item.
Advanced sorting
I've added a dialog for more advanced sorting. It supports sorting based on an indicated column etc.
Syntax highlighting
I've added some comment options to be used with syntax files.
LineCommentIfFirstChar=Yes|No
Only comment when the comment char is the first character on the line.
AllowNestedComments=Yes|No
Allow nested comments.
Code Explorer
The first item is preselected. I also fixed several update issues.
Download add-ons
Already installed items are displayed using a gray text. Also fixed a few minor issues.
Show tabs in bottom bar
Added a menu item in the view menu to display or hide the bottom bar tabs.
Script functions
Added a few new script functions.
Document object:
HighlightText(const wsText: WideString)
UnhighlightText(const wsText: WideString)
MainApp object:
ClearMessageText()
SetMessageText(const wsText: WideString; [const bAppend: Boolean = True])
Unhighlight text
Unhighlight text under the text cursor. If the current text is not highlighted, unhighlight all.
FTP issues
Fixed several issues when connecting to servers like vsFTPd. Also made some changes to handle errors better, e.g. when the server wont let you change directory.
FTP log
Added a save button to the FTP log. Use this to save the log to a file.
Options
Added color buttons to change the line change indicator colors in the left margin.
Added the option "Minimize editor if no files open".
Encodings
You can now set the default encoding to be used with new documents. Before it was only possible to use values like ANSI,
UTF-8 etc. It is now possible to use any encoding the system support.
Also added detection of meta tag encodings in html files.
Ctrl+F and non-modal search pane in bottom bar
If you use the search tab in the bottom bar and press Ctrl+F, it will regain focus. To close the bottom bar use Ctrl+Alt+M.
Fixed issues with:
- Unicode issues with toolbar hints.
- Split window issues.
- Tab menu items in hex view.
- Toolbar hints.
- Delete/Duplicate line and wordwrap.
- Context help issue with the portable version.
- Dual view issue with snap control.
Also fixed a few issues reported in the forum.