Search found 13 matches

by dustwalker
14 Aug 2022 00:06
Forum: Features
Topic: DONE: Alternative shell for Open Cmd Prompt
Replies: 5
Views: 3071

DONE: Alternative shell for Open Cmd Prompt

RJ TextEd's "Tools/Open Cmd Prompt..." opens a `cmd.exe` shell in the folder of the current file. I would like an option to replace `cmd.exe` by a different command or command string. In my case it would be `wt.exe` (Windows Terminal). Other people might prefer `bash.exe`, or `powershell.e...
by dustwalker
12 Jul 2022 16:36
Forum: Bugs
Topic: FIXED: RJ TextEd can't handle files containing lines that are 111 spaces or more
Replies: 4
Views: 1264

Re: RJ TextEd can't handle files containing lines that are 111 spaces or more

I am using a proportional font (Lucida Sans, size 12) as main font. And a monospaced font (Consolas,size 12) as alternate font. If I open the problematic file with the proportional font, everything is fine. I activate or deactivate "word wrap", no problem. I try a different proportional fo...
by dustwalker
10 Jul 2022 15:38
Forum: Bugs
Topic: FIXED: RJ TextEd can't handle files containing lines that are 111 spaces or more
Replies: 4
Views: 1264

FIXED: RJ TextEd can't handle files containing lines that are 111 spaces or more

Hi, I used one of the scripts on <https://superuser.com/questions/1603763/how-can-i-run-a-single-command-to-show-all-installed-applications-in-windows-10>. The script generated a text file, but RJ TextEd gives an error when opening it: "Access violation at address 0000000002CBB77B in module 'rt...
by dustwalker
06 Oct 2013 16:43
Forum: Scripts
Topic: Script with regex worked in RJ TextEd 8.65 but fails in 8.70
Replies: 3
Views: 13548

Re: Script with regex worked in RJ TextEd 8.65 but fails in

Thanks,
As soon as I corrected the penultimate argument of Document.ReplaceAll() the script line worked. I have replaced it by your own line, however, because your line is neater.

Note: I replaced your line's double quotes by single quotes, because my script syntax is Pascal.

Best regards
by dustwalker
05 Oct 2013 21:58
Forum: Scripts
Topic: Script with regex worked in RJ TextEd 8.65 but fails in 8.70
Replies: 3
Views: 13548

Script with regex worked in RJ TextEd 8.65 but fails in 8.70

Hi, I have three Pascal scripts that include the following line: Document.ReplaceAll(#13#10+#13#10+'(\r\n)+',#13#10+#13#10,False,False,False,True); The purpose of this line is to replace three or more consecutive carriage returns for just two carriage returns. In RJ TextEd 8.65 (and in earlier versi...
by dustwalker
31 May 2012 00:40
Forum: Syntax files
Topic: The "Add/Remove Comment" command should use indention
Replies: 3
Views: 14015

Re: The "Add/Remove Comment" command should use indention

I misunderstood the "Add/Remove Comment" command. I noticed that if I used it several times, it alternated between adding and removing the "comment character". Also, it used the "comment line character", instead of "begin comment block" and "end comment b...
by dustwalker
29 May 2012 23:27
Forum: Syntax files
Topic: The "Add/Remove Comment" command should use indention
Replies: 3
Views: 14015

The "Add/Remove Comment" command should use indention

Hi, This is a minor issue. The "Add/Remove Comment" or "Block Comments" command (CTRL+') puts or removes a "comment out" character at the very beginning of the selected lines. However, many source code lines have "comment out" characters preceded by spaces. Th...
by dustwalker
17 Mar 2012 20:41
Forum: Scripts
Topic: Help with/for Scripting
Replies: 9
Views: 20815

Re: Help with/for Scripting

If you do a regex search in RJ TextEd, and then run a script, the script's Document.ReplaceAll() lines will use regex. In older versions of RJ TextEd, you did not have to do a regex search, only to activate the RJ TextEd's button, but it changed at some point.

Regards
by dustwalker
13 Jul 2011 06:30
Forum: Scripts
Topic: var1 := Document.ReplaceAll does not work
Replies: 7
Views: 13520

Re: var1 := Document.ReplaceAll does not work

Version 7.50 is working.

Thank you and best regards
by dustwalker
07 Jul 2011 19:36
Forum: Scripts
Topic: var1 := Document.ReplaceAll does not work
Replies: 7
Views: 13520

Re: var1 := Document.ReplaceAll does not work

I downloaded the install file again. The command prompt program FC confirmed that this download and the previous one are identical. I Installed one of them in a clean "Windows XP Mode" virtual machine running under VMWare. I got the same behavior as in my main Windows 7 install. Document.R...
by dustwalker
29 Jun 2011 01:15
Forum: Scripts
Topic: var1 := Document.ReplaceAll does not work
Replies: 7
Views: 13520

Re: var1 := Document.ReplaceAll does not work

Hello again,
I have updated RJ TextEd to version 7.43, and I still have the same problem.

Regards
by dustwalker
13 Jun 2011 16:47
Forum: Scripts
Topic: var1 := Document.ReplaceAll does not work
Replies: 7
Views: 13520

Thank you for your fast response. And congratulations for the best text editor I have ever seen.

Best regards
by dustwalker
08 Jun 2011 17:55
Forum: Scripts
Topic: var1 := Document.ReplaceAll does not work
Replies: 7
Views: 13520

var1 := Document.ReplaceAll does not work

According to TextEd's Help, the document objects LineCount and ReplaceAll both generate integer outputs. I can assign LineCount's output to a variable, but not ReplaceAll's. Why? For example: // Pascal script // Global variables var var1, var2 : Integer; // Enter code here begin var1 := Document.Lin...