Download

RJ TextEd is developed in Delphi XE6 from Embarcadero 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 XP/Vista/Windows 7/8/10 (32 and 64 bit). The 32-bit version will also work on Linux if Wine is installed.
Note that the language and syntax files will be replaced when installing a new version. Place user language files and user syntax files in the "User defined" folder.

Note! Only major versions are available for download. Minor versions are available using the program update function.

Version 11.20 (11.22) (Oct 4, 2016)

To install v11.22 first download and install v11.20 below. Then go to "Help - Check for updates".

Install Version

32-bit version only.
Exe file: Download

64-bit version only.
Exe file: Download

32-bit + 64-bit versions.
Exe file: Download

Portable Version

The archive include both 32-bit and 64-bit versions.
7-Zip file: Download


Version 11.21

Oct 3, 2016

Text Compare

Added a new menu item to create a text compare report. Use the report dialog window to set options and what to include in the report.

  • You can create a report for printing. Print preview is available.
  • You can create a report as HTML and open it in a browser or save it to file.

You can include:
 - All lines
 - Changed lines only
 - Unchanged lines only

Options are:
 - Syntax highlighting
 - Wrap text
 - Line numbers

I've made some minor changes in menus and changed some menu icons.

Startup

Changed how panels and some forms are created at startup. The startup time should be less than half compared to previous versions.

The only drawback is the delay before visible panels are fully created when the program is started.

Script

Added a new function to the MainApp object. NewDocumentEx(). Added three new properties to the document object. CodePage, NewlineFormat and UseBOM.

Ex. (C++ script)
// HTML file, UTF-8 encoded with BOM and Windows linefeeds (CRLF)
MainApp.NewDocumentEx(".html", 65001, true, "Windows");

Ex. (C++ script)
Document.CodePage = 65001; // Change encoding to UTF-8
Document.UseBOM = true; // Use a BOM when saving file
Document.NewlineFormat = "Unix"; // Convert to Unix linefeeds (LF)

Full screen mode

Added two new keyboard shortcuts to toggle the menus and status bar on/off. You can already toggle the editor toolbar on/off. The state in full screen mode doesn't affect the state in normal mode, so you can have the editor toolbar hidden in full screen mode and displayed in normal mode.

Toggle menu: Ctrl+Alt+M
Toggle status bar: Ctrl+Alt+S

The layout in full screen mode is remembered between sessions.

Misc

  • Added a new command line switch to open a new instance of the program /MULTI.
  • Added a new command line switch to compare 2 files /COMPARE [file1] [file2].
  • Auto completion window is opened a little bit faster.

Fixed

  • Plain text files that include binary data should open properly now.
  • Issues with fuzzy sort in auto completion.
  • Multi cursor select issue.
  • GUI font quality settings.
  • File - Close didn't display a keyboard shortcut.
  • Startup issues from command line.
  • Document map should not be displayed with binary files.
  • Project files are reloaded in the same order as when closed.
  • Minor text issue in customize keyboard.
  • Minor issue with bash highlighter.
  • A few rare undo/redo issues.
  • Add to script menu issue with "Cancel" button.

Version 11.20

14 sept, 2016

Text Compare

Added side by side text compare. Menu items have been added to the "Tools" menu, document tab context menu and the document context menu when in compare mode.

  • When in compare mode the "Insert/Overwrite" status bar field turns red and "Compare" is displayed to indicate you are in compare mode.
  • Added [+], deleted [-] and modified [~] lines are marked both in the left margin and using different background colors.
  • To display an action menu - click on the [+], [-] or [~] field in the left margin, or right click inside a difference section. The action menu contain items to copy a section or line to the other side, copy section to the clipboard, navigate between difference sections or save a patch file.
  • Below the two documents is the line inspector that shows the current line from both documents and highlight the differences.
  • The annotation bars always open in compare mode. In compare mode they only show you were the difference sections are. You can click on the annotation bar to navigate to that position.

Multi Cursor Mode

Erased the previous implementation and wrote a new one. It works much better now. You can do almost anything you can do when using just one cursor.

Use Ctrl+LeftMouse to place additional cursors or make additional selections. You can cancel a cursor with a Ctrl+MouseClick over the cursor you want to cancel.

Exit multi cursor mode by hitting [ESC] or with a left mouse click anywhere in the text area.

You can move all cursors left/right/up/down with the arrow keys. Almost all standard keys to move or making selections are supported. E.g. Ctrl+Right to move all cursors to the next word or Shift+Down to select to the next line below.

You can use [Enter] to create new lines or split lines. For instance: place 3 cursors on the same line. Hit [Enter]. You have now split the line into 4 lines.

Paste will insert the clipboard content at each cursor position (or replace selected text). But if you use "smart paste" Shift+Ctrl+V and you have 4 lines in the clipboard and 4 cursors - each line will be pasted at each cursor position. This will only work if the number of lines in the clipboard matches the number of cursors.

Other functions that will work in multi cursor mode are:

  • "Indent/Unindent"
  • "Comment/Uncomment"
  • "Sorting"
  • "Move lines up/down"
  • "Case functions"

"Insert ascending numbers..." (found in the edit menu) now works in multi cursor mode.

Tool item type

Added a new tool item type "URL". It can be used to open an online search page like "https://www.w3.org/2009/cheatsheet/#search".

Ex. Sub menu: Online Search Menu text: W3 CheatSheet Type: URL Command: https://www.w3.org/2009/cheatsheet/#search, Argument: [CurrentWord]

Tool item argument

Added a new argument type to retrieve the current highlighter. The highlighter variable [Highlighter] is replaced by the current highlighter used under the text cursor in lower case. E.g. html, php, css ...

Scripts

Added a new property to the document object to get the current highlighter at the cursor position. The name is returned as a string in lower case.

Options

  • Added an option for a default save path used when saving new files.
  • Added an option for auto open and auto hide panels. If disabled you have to click on a hidden panel for it to open and click outside of the panel for it to close again.

Auto completion and "fussy" sorting

When you open an auto completion list and start typing a search string - you don't have to start from the beginning and you can even skip some letters. The letters in the search string just has to be found in that same order.

To activate fuzzy sorting press "F1" while the auto completion window is open. You can press F1 repeatedly if you want to toggle between normal and fuzzy sorting. When fuzzy sorting is active the window background change to a green color.

Ex.
To find "mysql_fetch_array" in an auto completion list inside a PHP file you could press Ctrl+Space and type "myfa". All items with the letters 'm','y','f','a', found in ascending order will be listed. Which is just 6 items. Trying to type "mysql" results in a very large list.

Ex.
You can still use it as you always have. To find the "base" tag in HTML you can hit Ctrl+Space and start typing "ba".

Fussy search is mostly useful when you want to find a really long string and there are many similar items.

Indent / UnIndent

Using the tab key (or Shift+Tab) to indent (or unindent) a selected block of text will now always select the full lines.

Indent (unindent) block, found in the format menu, still behaves as before where the selection follows the indented block.

Misc

  • It's now possible to assign a keyboard shortcut to open the highlighters drop down menu.
  • Added a print option to have the file dir in the header/footer.
  • Made some scroll speed changes when selecting text horizontally.
  • The highlighter drop down menu is no longer disabled when opening ASCII files.

Fixed

  • HSL color slider issue in the 64-bit version.
  • Several issues with "Format - Convert file encodings...".
  • Several issues in "Insert text on each line...".
  • A JSON highlighting issue.
  • Dbl click issue with empty lines.
  • [FileExt] tool item argument doesn't add a . before the extension anymore.
  • Shortcut issues with external browsers.
  • A URL mapping issue with "OpenInBrowserAction".
  • Alt-codes like Alt+182 and Alt+0182 should work now.
  • Code Explorer issues with JSON code.
  • Tracking of current position in Code Explorer for JSON files.
  • Drag n drop cursors for copy/move fixed.
  • Bookmark list issue when closing documents.
  • Horizontal scroll issue when ruler is visible.
  • A few print issues.

Version 11.12

28 July, 2016

Fixed

  • Error when reopening projects.
  • A few update issues.

Version 11.11

25 July, 2016

Drag n drop

Drag n drop should now work between the editor and external programs, like Internet browsers, email clients, text editors...

You can:

  • Drag text from other programs and drop it inside a document.
  • Drag text from a document and drop it onto a browser edit field or inside another text editor.
  • Drag a HTML link to a document and insert title and full path.
  • Drag files from an explorer window to open the files (improved in this version).

Chrome preview

The 32-bit version on 32-bit Windows can sometimes prevent the program from closing properly. It should work properly now.

Hibernate (Windows shutdown or unexpected closure)

Some information was lost when using hibernate. E.g. code folding, bookmarks... The information is properly saved in this version and restored when you restart.

If the program is open and Windows is shut down - the program should not try to delay the shut down. I made some code changes to fix this.

Also fixed a few issues when having an open project.

JSON Pretty Print

Wrote new code without the use of the Delphi JSON parser. The code is pretty simple and should produce the same result as many online beautifiers.

Note! The code is not validated, so if your JSON code contains errors the result may not be formatted as you would have expected.

Double click on brace to select contents

A double click on a brace ()[]{}""'' will select the entire contents including the braces.

If you press ALT - only the content between braces is selected. Not the braces themselves.

Misc

  • Folder of the last opened/saved file is used when saving a new document, unless the explorer panel is opened (in which case the current path is used).
  • Password is displayed in plain text when exporting a document as encrypted.

Fixed

  • Double click to select all between braces when the end brace is at eol.
  • Auto block completion ({..}) after single quotes.

Version 11.10

06 July, 2016

Chrome preview (v51)

Updated the preview component and libraries to version 51.0.2704.

NOTE! This version of the Chrome libraries does not work on Windows XP/Vista.

HTML

Updated the HTML syntax files and added several new tags and attributes. The change is extensive and you will see several new tag attributes in the auto completion lists.

Several issues with attributes was fixed. Corrected some boolean attributes and removed attributes marked as obsolete.

Auto completion of stop tags should work properly now.

Tags are no longer drawn with an error highlight color when editing and no start or stop tag match is found. Only complete start and stop tags are highlighted.

Z shell and bash

Updated the bash highlighter and added a new one for Z shell (zsh).

Auto completion

Made the list a bit larger and changed the position and borders.

Macros

Macros can now use loops and if..else..endif structures. Several new macro commands have been added.

The macro editor has been completely redesigned. Macro code is, when opened, automatically indented to improve readability. Syntax highlighting and auto completion is used as well. Use Ctrl+Space to list all available macro commands.

Hibernate

Added as a menu item to the "File" menu.

Hibernate will save the current session (open files and project) in a temp folder and reopen them when you run RJ TextEd again. Modified or new files are not saved, but temporarily stored in the temp folder.

I've added an option if you want to hibernate every time the program closes.

Drag n drop

Drag n drop now works between documents in dual document view.

Press CTRL during the drag operation to copy the text. Otherwise the text is moved.

Please note that the text is no longer scrolling when you drag a text. You can still scroll, if you have to, using the mouse scroll wheel.

Double click on braces

To select everything between two braces (including the braces) you use the mouse to double click on one of the braces.

This should work with ()[]{}""'' for most programming languages.

Recently opened files

Added a search field to the recent files drop down list.

You can set the number of files to display in the drop down list by setting a max value in options.

Copy as RTF

Copy selected code as RTF should work again in this version. The colors used are the same as when printing. This looks better when e.g. pasting the clipboard content into Words (which uses a white background).

Misc

  • Updated Tidy.exe to the latest version.
  • The description field when adding file extensions in options has been removed.
  • Minor changes to the search progress dialog box.
  • Relative paths should now work when opening files from the command line.
  • Updated the HTML and CSS tree's in the quick bar.
  • Changed how the HOME and END cursor movement work in word wrap mode.

Fixed

  • Bookmarks dropdown list in "Goto Line" dialog window was empty.
  • Replace All should not replace anything when a document is marked read only.
  • Option for allowed instances.
  • Option to allow Chrome preview.
  • HTML stop tag auto completion should work properly now.
  • Validation and beautify HTML should work now on all systems.
  • A document tab drag n drop issue. Could cause a permanent drag state.
  • Double click on document tab bar to create a new document would sometimes close the tab.

Version 11.01 - 11.07

06 July, 2016

JSON

Added two new menu items in the format menu.

  • Pretty print - will beautify the JSON code and add indention.
  • Minify - will compress the code to a single line.

JSON code is now displayed in the code explorer tree.

Highlight color values

Added a new menu item in the view menu called "Highlight color values".

  • Enable for selected file types
  • File types

The "File types" menu item contain all available file types and the checked items specify in which files, color values should be highlighted.

Reopen with Encoding

Added a menu item in the "File" menu to reopen the current file using a different encoding. You can also reopen it as a hexadecimal file.

Note! If the file is a Unicode file and has a BOM, you will not be able to reopen the file with a different encoding.

Merge and Split

Added a menu to the document tab right click menu with several functions to append, prepend or split documents.

Annotation bar

Made some redraw changes to minimize speed impact on editing.

Text Clips

You can add or subtract time in a text clip when using time and date variables.

E.g. %tomorrow% = @d[dddd d of mmmm yyyy]{+1d} %yesterday% = @d{-1d} %lastyear% = @d[dddd d of mmmm yyyy]{-1y} %AnHourAgo% = @t{-1h}

Auto hide scrollbars

Mouse move will always display the scrollbars.

Project Manager

"Copy to clipboard as" will use a relative path from the current document if possible. Otherwise the file name is used.

To use the complete file path - hold down the Shift-key.

File Commander

The breadcrumb control has been replaced with a drop down list to solve a few theming issues.

The drop down list will always display the full path, just like the breadcrumb control did.

Highlight colors in CSS/LESS/SASS

Added a menu item option to allow highlighted colors values in CSS, LESS and SASS files. The menu options is located in "View -> Highlight". It is turned on by default.

The type of colors highlighted are:

  • HTML color names like blue, red, saddlebrown...
  • Color values like #80ff40.
  • RGB() and RGBA() values.
  • HSV() and HSVA() values.
  • HSL() and HSLA() values.

When highlighted - the color value is drawn using the color as the background color.

Color hint

I've made several changes in the color hint window (mouse hovers over a color value).

The hint now display colors in all supported formats: #xxxxxx, HTML color name, RGB(), RGBA(), HSV(), HSVA(), HSL(), HSLA() and decimal.

Covert between color formats

Each format is underlined and clickable. Click on a value to convert the color under the mouse cursor to a different format.

Ex.
The color under the mouse is RGB(0,0,255). Click on "blue" in the color hint and the color under the mouse cursor is changed to "blue".

Open color wheel window

Click on the color preview box to open a color dialog window.

Color dialog window

I've made several changes in the color dialog window.

  • The added sliders can now handle RGB, HSV or HSL values.
  • Added a new tab with HTML color names.
  • Added several new color output formats.

I also fixed several issues.

JSON

Added a JSON highlighter. It should handle syntax highlighting and code folding. I'll try to add properties to the Code explorer XML tree in a later version.

Horizontal and vertical scrollbar

Added an option to auto hide the vertical and horizontal scroll bars. The options defaults to "off", but can be turned on in "Options - Editor - Display".

SFTP

  • Added "Keyboard-Interactive" authentication.
  • Added log output.
  • Fixed a few issues.

CSS toolbar tree

Added a huge number of new properties and values. Also added dialog entries to the tree. E.g. "»colors" which will open the color dialog window.

CSS

Updated the CSS syntax files and added several properties and property values. I also added several new -moz-, -ms-, -o- and -webkit- properties.

  • Updated the highlighter to include most CSS3 properties and values.
  • @-rules, strings and some keywords are now highlighted in CSS files.
  • Property value completion is triggered after you press ":" or a .

SASS

  • Added several new properties and updated the highlighter to use most CSS3 properties and values.
  • Property value completion is triggered after you press ":" or a .
  • Fixed some issues.

LESS

  • Added several new properties and updated the highlighter to use most CSS3 properties and values.
  • Property value completion is triggered after you press ":" or a .
  • Fixed some issues.

VBScript

Classes should now be handled properly.

Themes

Added an option in the customize themes dialog box to enable theming of standard system dialogs like file open/save and task dialog boxes.

Added several new program styles available in the customize themes dialog box.

Changed how program style preview works in customize themes.

Unit converter panel

Added a new item to calculate date and time span. You can calculate the span between two dates or you can add a time span to a date and calculate the new date.

Addons

Made several changes in the addons dialog box.

Highlighters are now selected using check boxes in a list box. Default file extensions are automatically added when a new highlighter is enabled.

The active language is selected with a checkbox in the language list.

The side bar has a new appearance and made some other visual changes.

Syntax Highlighting colors

Made some minor changes to the highlighting colors in "Windows.xml", "Glossy.xml" and "Charcoal Dark Slate.xml". If you want to use them - you may have to import the colors from the theme manager.

NOTE! You should probably not import these if you have set or changed any syntax highlighting colors yourself.

Project settings

Made some visual changes.

Projects and synchronized folders

Synchronized folders can be added from the context menu and the project menu. For each added folder you enter a new file type filter string to filter out files you do not want in the project manager tree.

Synchronized folders are updated (re-scanned) when adding new files, deleting files or changing any file in the folder that is being synchronized.

Class and function list data is updated every time the synchronized folder is updated.

Split Window

Annotation bar should work properly now with split window.

The focused editor window is kept when you turn off split window.

Statusbar and mouse click menus

To change the document newline format - you can click on "newline format" column on the statusbar and select another newline format in the popup menu.

To change the document encoding or codepage - you can click on the "encoding" column on the statusbar and select another encoding.

Unit Converter Panel

Added a new panel for conversion between units. Units supported are:

  • Area
  • Angles
  • Data storage (Bytes, bits, KB, MB ...)
  • Length
  • Time
  • Volume
  • Weight and Mass
  • Temperature
  • Numbers (dec, hex, bin, oct)
  • Date/Time formats

Date/Time format conversion are done between different date and time formats used in different countries. E.g. if you need to list a dates in a XML file you can easily do so by selecting a country format and insert the date in your file.

den 1 mars 2016 Tuesday, March 1, 2016 1 Март 2016 г.

To edit a value click on a value twice (not a double click), or hit SPACE when an item is selected.

Character Viewer

Double click on a character instantly insert the character to the clipboard string.

Character Viewer

Renamed RJ Charview to Character Viewer and made several changes to the tool.

  • Only printable characters are displayed. No more squares.
  • The window is resizable. The character grid font is resized as well.
  • All Unicode characters are displayed at startup.
  • Made changes to the Unicode sub-ranges.
  • A hints is displayed when hovering over a character in the grid.
  • Window size and options are saved between sessions.

Layouts

Layouts in the environment menu should work better now.

  • Available layouts are listed in the layout menu.
  • Panel layouts are saved properly.
  • Main window size is saved and restored.

Note! You may have to re-save old layouts for them to work properly.

Run files from Windows Explorer

Files will open faster in this version if opened from Windows Explorer. It doesn't matter if the program is already running or not.

All files should also open now if you use a theme. That didn't always work in previous versions.

Misc

  • The drop down list on the explorer panel will display the full path to the current folder.
  • A few improvements to the syntax editor.
  • Added an option to save the right margin position for each file.
  • Made some changes to the statusbar character/column/selection hint.
  • The syntax highlighter name is now shown in the syntax editor title.
  • Some minor syntax editor improvements.
  • Made changes to the configure explorer favorites dialog window.
  • Made changes to the manage script dialog window.
  • Clone window now open at the same line and text cursor position as the original.

Fixed

  • Editing can sometimes be "sluggish" when the annotation-bar is visible.
  • The convert panel date/time span calculation should didn't handle a second date that was earlier than the first (a negative time span).
  • Menu font settings not always having an effect.
  • SFTP when accessing several accounts on the same server.
  • Theme color issue when all files are closed.
  • Changing syntax highlighter didn't always work.
  • An issue with multiplying browsers in HTML menu.
  • An issue with multiplying browser preview mappings.
  • An issue with multiplying file extensions.
  • Floating panel resize issues.
  • Small issue with indent lines.
  • The default save path for new documents is set to the "Documents" folder.
  • Issue when program was running and Windows shut down.
  • The unit converter panel sometimes opened blank.
  • Code explorer panel sometimes opened blank.
  • Resize issue with split window.
  • Word count issue with fancy single quote.
  • "Enter" on file in Explorer panel.
  • Issue with "File has been deleted..." message.
  • "Save All" issue with external text windows (tab outside of main window).
  • A tool issue when the active document is an external window.
  • Text size in function argument hint.
  • Shell menu (explorer panels) theme issue.
  • Script issues with Document.ReplaceAll()
  • A few wordwrap issues.
  • Split window issues.
  • Chrome preview should work properly now.
  • Title file name issue when closing all open files.
  • Small issue with "Open folder in Windows Explorer".
  • Hex view issue.
  • Toggle dual document view issue.
  • Toggle comment issue in CSS.
  • Unindent issue.
  • Document tab icon issue when save.
  • Key issue in find/replace dialog.
  • Tab issues in find/replace dialog.
  • Tab draw issue when using dual document view.
  • Comment issue in CSS.