SuperEdi

User: Guest

Search

Please use the
Bug Report Form
if you think you found a software defect.

Use the Contact Form
to send a personal message to Wolfgang.

RSS Feed RSS Feed

Other boards:
Juke
QBrowser
Raduga (English)
Song Requester

Command Line switches

Posted on: SuperEdi

From Message

Walter

2007-02-09 19:59:32

Command Line switches

I'm newbie to SuperEdi, and I'm really impressed about the features.
I didn't find any hints about command line parameters in the online/offline help.
Is there a possibility to open a file and jump to specific line?

Wolfgang Loch

2007-02-09 23:50:18

Re: Command Line switches

There is no command-line option to jump to a line.

But once SuperEdi is started, you can open a file by entering the file name in the address bar. Here you can also specify the line number using any of these formats:

a) FILENAME line LINE
b) FILENAME(LINE)
c) FILENAME(LINE, COLUMN)
d) FILENAME(LINE, COLUMN, ENDLINE, ENDCOLUMN)


And you can set the cursor position by script. For example:

var app = new ActiveXObject("SuperEdi.Application");
app.Visible = true;
var doc = app.Documents.Open("C:\\Temp\\Testfile.txt");
doc.Selection.CurrentLine = 15;

Post a reply to this message: