Version 16.35 beta 1/beta 2/beta 3

Test beta versions and make bug reports.
I will release major beta builds only. Bugs fixed will be rolled up into the next major beta build or the finished version.
User avatar
Rickard Johansson
Site Admin
Posts: 6765
Joined: 19 Jul 2006 14:29

Version 16.35 beta 1/beta 2/beta 3

Post by Rickard Johansson »

-----------------------------------------------------------
Version 16.35 (Nov 22, 2024)
-----------------------------------------------------------

Terminal panel
Added syntax highlighting to the terminal panel, ctrl click on paths and new toolbar items.

Terminal01.png
Terminal01.png (10.85 KiB) Viewed 943 times
Terminal02.png
Terminal02.png (20.47 KiB) Viewed 943 times
Terminal03.png
Terminal03.png (15.96 KiB) Viewed 943 times

Terminal options
- Set the font and size used.
- Set colors for different syntax elements like numbers. strings...

Open a web address or file
- Hold Ctrl and press left mouse over the link to open a web address.
- Hold Ctrl and press left mouse over the file path to open it in the editor.

This may work with relative paths as well ('../scripts/config.inc.php').
The path is tested as relative to the currently open file, project default path or the current terminal path.

Insert clips or commands from dropdown list
Added a customizable dropdown list (combo box) in the toolbar of the terminal window. The list can have headers and items. Each item can have both a caption and details (the actual expanded command or clip).
Everything is stored in a file and can be opened with the edit button, next to the dropdown list.

Terminal04.png
Terminal04.png (23.76 KiB) Viewed 943 times

The file contain all information needed to add new commands, clips and headers. There are several variables you can use with your commands.
E.g. "Change to document folder=cd <docDir><Enter>".

The list contain several example commands. You are encouraged to edit this file yourself and add commands you actually need.

Requests or ideas are welcome.

Download
https://www.rj-texted.se/downloads/beta ... ll_x86.exe
https://www.rj-texted.se/downloads/beta ... ll_x64.exe
https://www.rj-texted.se/downloads/beta/rj-portable.exe
User avatar
Rickard Johansson
Site Admin
Posts: 6765
Joined: 19 Jul 2006 14:29

Re: Version 16.35 beta 1/beta 2

Post by Rickard Johansson »

Added in beta 2:

In Terminal panel:

Auto compilation
Press Ctrl+space to open a completion list with all files and folders in the current directory. If you've started to type something - that is used to filter the items in the list.
Note! The TAB key now just insert a tab.

Fixed several issues in the terminal window and made some improvements (syntax highlighting, undo/redo etc.).


Download
https://www.rj-texted.se/downloads/beta ... ll_x86.exe
https://www.rj-texted.se/downloads/beta ... ll_x64.exe
https://www.rj-texted.se/downloads/beta/rj-portable.exe
User avatar
pjj
Posts: 2215
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Version 16.35 beta 1/beta 2

Post by pjj »

I didn't find any bugs (other than "Could not connect to server"). But. In the second beta (probably also in the first one) you've changed something in the code and it has soothing effect: I can close the editor by a single click on the X icon in the top right corner (before I had to click twice: once to close all the files and then to close the program; I remember having reported this glitch some time ago) and the editor loads very quickly now -- while before I had to wait half a minute for all the files to be loaded. Do you have any clue what it could have been?
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6765
Joined: 19 Jul 2006 14:29

Re: Version 16.35 beta 1/beta 2

Post by Rickard Johansson »

Interesting... but I haven't done anything deliberately to speed things up.
I've made several small code changes since the last release. I usually do when I discover some minor glitch or when implementing (or testing) something new and it doesn't work as expected (usually because of a bug somewhere).

I'll give it some thought and get back to you if I figure it out...
User avatar
Rickard Johansson
Site Admin
Posts: 6765
Joined: 19 Jul 2006 14:29

Re: Version 16.35 beta 1/beta 2/beta 3

Post by Rickard Johansson »

New in beta 3:

Made improvements to auto completion in the terminal window. Added icons and the list can display commands, folders and files. Folders are sorted at the top of the list and files are sorted and listed below.
Also fixed a few very small (and harmless) memory leaks.

-----------------------------------------------------------
Version 16.35 (Nov 24, 2024)
-----------------------------------------------------------

Terminal panel
Added syntax highlighting to the terminal panel, Ctrl click on paths and new toolbar items.

Auto compilation
Press Ctrl+space to open a completion list. Depending on caret position, the list either contain DOS and PS commands or all files and folders in the current directory. Directories are listed first and files listed below.
If you've started to type something - that is used to filter the items in the list.
Note! The TAB key now just insert a tab.

Terminal options
- Set the font and size used.
- Set colors for different syntax elements like numbers. strings...

Open a web address or file
- Hold Ctrl and press left mouse over the link to open a web address.
- Hold Ctrl and press left mouse over the file path to open it in the editor.

This may work with relative paths as well ('../scripts/config.inc.php').
The path is tested as relative to the currently open file, project default path or the current terminal path.

Insert clips or commands from dropdown list
Added a customizable dropdown list (combo box) in the toolbar of the terminal window. The list can have headers and items. Each item can have both a caption and details (the actual expanded command or clip).
Everything is stored in a file and can be opened with the edit button, next to the dropdown list.

The file contain all information needed to add new commands, clips and headers. There are several variables you can use with your commands.
E.g. "Change to document folder=<docDir><Enter>".

The list contain several example commands. You are encouraged to edit this
file yourself and add commands you actually need.

Fixed
* A few very very small memory leaks.


Download
https://www.rj-texted.se/downloads/beta ... ll_x86.exe
https://www.rj-texted.se/downloads/beta ... ll_x64.exe
https://www.rj-texted.se/downloads/beta/rj-portable.exe
User avatar
pjj
Posts: 2215
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Version 16.35 beta 1/beta 2

Post by pjj »

Rickard Johansson wrote: 23 Nov 2024 21:44 Interesting... but I haven't done anything deliberately to speed things up.
I think you have :o namely you've added some tracking code to the beta, absent in the normal edition, because now when I'm working with stable program, again I have to click twice on close icon to terminate it.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6765
Joined: 19 Jul 2006 14:29

Re: Version 16.35 beta 1/beta 2/beta 3

Post by Rickard Johansson »

If it happens again - please copy and send me the "<AppData>\RJ TextEd\Data\DebugOutput.txt" file. It should contain some interesting info.

BTW. The beta version is a normal release (no special debug version...) :?
User avatar
vha
Posts: 1098
Joined: 27 Jun 2007 21:34
Location: Belgium

Re: Version 16.35 beta 1/beta 2/beta 3

Post by vha »

Here you have one where I had to click twice to close TextEd

vha
Attachments
DebugOutput.7z
(2.01 KiB) Downloaded 11 times
User avatar
Rickard Johansson
Site Admin
Posts: 6765
Joined: 19 Jul 2006 14:29

Re: Version 16.35 beta 1/beta 2/beta 3

Post by Rickard Johansson »

Thank you,

Would you mind repeating it using this version instead? https://www.rj-texted.se/downloads/TextEd.7z

It contain some extra debug outputs in the affected code area... I need to know which function call halts the close execution.
User avatar
vha
Posts: 1098
Joined: 27 Jun 2007 21:34
Location: Belgium

Re: Version 16.35 beta 1/beta 2/beta 3

Post by vha »

Here you have it

vha
Attachments
DebugOutput.7z
(1.31 KiB) Downloaded 7 times
User avatar
pjj
Posts: 2215
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Version 16.35 beta 1/beta 2/beta 3

Post by pjj »

FWIW I have quite big DebugOutput.txt file, but annoyingly enough RJ TE closes swiftly and opens quite fast, too (seems it opens slowly only when a project is involved).
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6765
Joined: 19 Jul 2006 14:29

Re: Version 16.35 beta 1/beta 2/beta 3

Post by Rickard Johansson »

I've uploaded a new build. It should be fixed now, but I need confirmation https://www.rj-texted.se/downloads/TextEd.7z.
User avatar
Rickard Johansson
Site Admin
Posts: 6765
Joined: 19 Jul 2006 14:29

Re: Version 16.35 beta 1/beta 2/beta 3

Post by Rickard Johansson »

pjj wrote: 03 Dec 2024 10:04 FWIW I have quite big DebugOutput.txt file, but annoyingly enough RJ TE closes swiftly and opens quite fast, too (seems it opens slowly only when a project is involved).
Try setting the option in <AppData>\Roaming\RJ TextEd\Data\DebugOptions.txt to:

LogFileAppend=0

It should prevent the file from growing.
User avatar
pjj
Posts: 2215
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Version 16.35 beta 1/beta 2/beta 3

Post by pjj »

I know. I'm OK with the file growing (20 MB since 16.21 beta 3), but it irks me the program is closing well now when I need it to go rogue 8)
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
vha
Posts: 1098
Joined: 27 Jun 2007 21:34
Location: Belgium

Re: Version 16.35 beta 1/beta 2/beta 3

Post by vha »

Sorry, but I think it's not fixed.

I reproduce it by launching TextEd on one screen and opening several files using dual view. Then I switch to another application (e.g. browser) on anther screen during 10 minutes or more.

After that, I click the close button (without first switching to/activating TextEd). This from time to time only closes all files but not TextEd.

vha
Attachments
DebugOutput.7z
(1.61 KiB) Downloaded 7 times
Post Reply