Search found 11 matches
- 14 Aug 2022 00:06
- Forum: Features
- Topic: DONE: Alternative shell for Open Cmd Prompt
- Replies: 5
- Views: 9793
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.exe ...
- 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: 31986
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
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
- 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: 31986
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 ...
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 ...
- 31 May 2012 00:40
- Forum: Syntax files
- Topic: The "Add/Remove Comment" command should use indention
- Replies: 3
- Views: 18038
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 block" characters. So, I assumed that its ...
- 29 May 2012 23:27
- Forum: Syntax files
- Topic: The "Add/Remove Comment" command should use indention
- Replies: 3
- Views: 18038
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. The "Add/Remove Comment" command fails in ...
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. The "Add/Remove Comment" command fails in ...
- 17 Mar 2012 20:41
- Forum: Scripts
- Topic: Help with/for Scripting
- Replies: 9
- Views: 25918
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
Regards
- 13 Jul 2011 06:30
- Forum: Scripts
- Topic: var1 := Document.ReplaceAll does not work
- Replies: 7
- Views: 16468
Re: var1 := Document.ReplaceAll does not work
Version 7.50 is working.
Thank you and best regards
Thank you and best regards
- 07 Jul 2011 19:36
- Forum: Scripts
- Topic: var1 := Document.ReplaceAll does not work
- Replies: 7
- Views: 16468
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.ReplaceAll ...
- 29 Jun 2011 01:15
- Forum: Scripts
- Topic: var1 := Document.ReplaceAll does not work
- Replies: 7
- Views: 16468
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
I have updated RJ TextEd to version 7.43, and I still have the same problem.
Regards
- 13 Jun 2011 16:47
- Forum: Scripts
- Topic: var1 := Document.ReplaceAll does not work
- Replies: 7
- Views: 16468
- 08 Jun 2011 17:55
- Forum: Scripts
- Topic: var1 := Document.ReplaceAll does not work
- Replies: 7
- Views: 16468
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 ...
For example:
// Pascal script
// Global variables
var
var1, var2 : Integer;
// Enter code here
begin
var1 := Document ...