Version 15.10

Information about the next release of RJ TextEd.
Post Reply
User avatar
Rickard Johansson
Site Admin
Posts: 6153
Joined: 19 Jul 2006 14:29

Version 15.10

Post by Rickard Johansson »

-----------------------------------------------------------
Version 15.10 (Aug 28, 2021)
-----------------------------------------------------------

Terminal panel
Added a new panel which works as a terminal window. It uses Cmd.exe in the background and should have most of the functions a real command prompt window has, and more.

CmdPanel.gif
CmdPanel.gif (310.28 KiB) Viewed 1929 times

The panel toolbar allows you to:

* Enter a path manually in the combo box and move to it.
* Select a favorite folder in drop down list and move to it.
* Save current terminal directory as favorite.
* Change terminal directory to the current document folder.
* Open a folder selection window and change directory to it.
* Change font (and background color if you're not using a theme).
* Restart the terminal (restart cmd.exe).
* Keyboard action to start an external terminal window. Set shortcut in customize keyboard.
* Keyboard action to open/hide or show/close terminal panel. If the panel is auto hidden (minimized) the action will open/hide the panel. Otherwise it's closed or shown.

Note!
The panel use a standard windows edit control and only communicate with an open (hidden) command prompt window using standard input/output.
There may be commands that doesn't work properly, like "more" (it displays all of the text at once, but you don't have the space bar control to switch page).
Some special keys may work differently (since it's an edit control).

Some features I had to add to the panel myself:

* Command history (up/down arrow). It should work the same as in a real command prompt window. The command history is saved between sessions.
* Auto completion (tab). Should work the same as in a real command prompt window.
* Ctrl+C. Should work the same as in a real command prompt. If it doesn't work use the restart terminal button instead.

Terminal - PHP interactive shell (php -a)
This should work fairly well, but it will never work perfectly over standard input/output.
Up/Down arrows can be used for history and use "exit", or hit Ctrl+Z to exit the php interactive shell.

Terminal - Python interpreter mode (python or python -i)
This should work fairly well, but it will never work perfectly over standard input/output.
Up/Down arrows can be used for history and use "exit()", or hit Ctrl+Z to exit the python interactive mode.
The help utility is supported as well and should work normally.

Language server templates
Templates make adding language servers much easier. Once you've added a language server as a template you never have to add the server settings again.

Several server templates have been added already for you to use. And you can easily change or add one yourself.

Open LSP templates located in the environment menu to modify or add templates.

You can add a language server as a template from project/sites settings if you've already added a server.

Some environment variables can be used in paths:

Code: Select all

    %appdata%       = <AppData>\Roaming
    %localappdata%  = <AppData>\Local
    %programfiles%  = c:\Program files
    %homepath%      = c:\Users\<username>
Text clips panel
Changed the Keyboard action to open/hide or show/close terminal panel. If the panel is auto hidden (minimized) the action will open/hide the panel. Otherwise it's closed or shown.

* Return key should now insert selected item and close/expand folders.
* Select color issue fixed with themes.

Misc
* Added a new command-line switch /NOREOPEN. It allows you to open the editor without reopen the last open files.
The next time you open the editor without this option - the old last open files are reopened.

* A few issues on high dpi monitors.

Fixed
* A few reported issues from users.

User avatar
pjj
Posts: 1913
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Version 15.10

Post by pjj »

If someone is wondering (like I was) what terminal inside a text editor can be good for, here's one explanation: https://www.youtube.com/watch?v=tlEkrWU0d1M Of course I don't expect that all these helpful features will land in 15.10 :wink:
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

User avatar
Rickard Johansson
Site Admin
Posts: 6153
Joined: 19 Jul 2006 14:29

Re: Version 15.10

Post by Rickard Johansson »

This version has been released and is available from the main site https://www.rj-texted.se/download.html

User avatar
yereverluvinuncleber
Posts: 294
Joined: 20 Apr 2018 09:49

Re: Version 15.10

Post by yereverluvinuncleber »

Superb addition.
"Noli pati a scelestis opprimi"... or is it "non lacessit illegitimae te carborundum"?

You can find me on Deviantart https://www.deviantart.com/yereverluvinuncleber/gallery/

Post Reply