Page 1 of 1

Open file to specific line number from command-line

Posted: Sun Sep 20, 2015 9:57 am
by earlhood
Is it possible to start Oxygen from the command-line to open a file to a specific line number?

I have a program that generates reports on XML files that includes line numbers into those files. It would be nice to open oxygen to a file and automatically move cursor to a given line number.

I can do this in Vi:

Code: Select all

vi +56 file.xml
Will open file.xml and put cursor on line 56.

Re: Open file to specific line number from command-line

Posted: Mon Sep 21, 2015 9:30 am
by Radu
Hi,

Sure, if you are using Oxygen 17.0.
You have an example here:

http://www.oxygenxml.com/doc/versions/1 ... m-cli.html

Regards,
Radu