Hello. Sorry about the vague subject, but I couldn't came up with something
better...

I'm using SciTE for a few years, and just now I started using custom commands.
I've created a small application to help me on debugging JS applications, where
I supply a directory path, a line number and a file pattern, and the application
will scan the directory and the files, returning the content of the supplied
line number.

I had some limitations I couldn't iron out, and I couldn't find a solution on
the help files:

1) I'm using parameters, but I noticed the dialog asking for them will come
with empty fields if you didn't use it before. Is there a way to supply
default values?

2) I'd like to use the feature of double-clicking the output panel to open
the file. For that I copied the output from "Find in files" built-in command,
and it partially worked.

filename:linenumber "line content"

If the file is already opened, it'll focus it and the specified line, and
works as I desired. But if the file isn't opened, it won't work. The only
way I managed to make it work was supplying the full file path before the
file name, what wouldn't be so good. What can I do?


Thanks in advance

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to