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

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
crtrubshaw
Posts: 322
Joined: 06 Jun 2012 11:08

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

Post 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".
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

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

Post by Rickard Johansson »

Command line switches in RJ TextEd must come before the file name(s).

E.g. TextEd.exe /L:15 "myfile1.php"
crtrubshaw
Posts: 322
Joined: 06 Jun 2012 11:08

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

Post by crtrubshaw »

I did try that as well (as per the documentation), it still opened an empty file alongside the named file.
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

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

Post 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.
User avatar
vha
Posts: 1075
Joined: 27 Jun 2007 21:34
Location: Belgium

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

Post by vha »

If TextEd is already running, it opens the "15" file

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

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

Post by Rickard Johansson »

Thanks vha :)
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

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

Post by Rickard Johansson »

Fixed in next release (v15.49).
Post Reply