Page 1 of 1

FIXED: /L:X command line switch doesn't work

Posted: 01 Apr 2022 16:33
by crtrubshaw
Hi Rickard, I tried to use this switch to position the cursor on a specific line but instead it opened a new file, e.g.

TextEd.exe "file.ext" /L:15

Opens "file.ext" and then a new empty file named "15".

Re: /L:X command line switch doesn't work

Posted: 02 Apr 2022 11:47
by Rickard Johansson
Command line switches in RJ TextEd must come before the file name(s).

E.g. TextEd.exe /L:15 "myfile1.php"

Re: /L:X command line switch doesn't work

Posted: 04 Apr 2022 10:06
by crtrubshaw
I did try that as well (as per the documentation), it still opened an empty file alongside the named file.

Re: /L:X command line switch doesn't work

Posted: 04 Apr 2022 13:57
by Rickard Johansson
I haven't been able to reproduce that. Are you using version 15.48?

Maybe it has something to do with your options. Would you mind sending me your settings file (AppData\Roaming\RJ TextEd\TextEd.ini) in a zip file.

Re: /L:X command line switch doesn't work

Posted: 04 Apr 2022 14:09
by vha
If TextEd is already running, it opens the "15" file

vha

Re: /L:X command line switch doesn't work

Posted: 04 Apr 2022 14:20
by Rickard Johansson
Thanks vha :)

Re: /L:X command line switch doesn't work

Posted: 04 Apr 2022 14:58
by Rickard Johansson
Fixed in next release (v15.49).