从 Xbench 中搜索(并在 EmEditor 中打开)的 .txt 文件中跳转到搜索词的命令行选项
Command line options to jump to search term in .txt file searched from within Xbench (and opened in EmEditor)
我正在使用名为 Xbench, and it allows you to use command line parameters to automatically jump to the relevant line in the file where your search term is. The developer told me to look for tips on how to achieve this with EmEditor @ https://docs.xbench.net/user-guide/xbench-settings/
的词汇表搜索程序
那里解释了如何使用 Textpad 和 Notepad++ 实现此目的。
参见:
For example, to configure TextPad 4 for line positioning, you must
select there the Textpad executable and specify the following in
Command-Line Parameters: $filename($line,$column). Similarly, to
configure Notepad++, you must select its executable and specify the
following in Command-Line Parameters: $filename -n$line. Other text
editors will require different values for this field. Please check
your text editor’s documentation for the suitable values.
我查看了 EmEditors 命令行选项@http://www.emeditor.org/en/howto_file_file_commandline.html,但不知道该怎么做。有人可以帮助我吗?
Michael Beijer(technical/patent 译者)
请试试这个:
$filename /l $line /cl $column
如果文件名包含 space,您可能需要使用:
"$filename" /l $line /cl $column
我正在使用名为 Xbench, and it allows you to use command line parameters to automatically jump to the relevant line in the file where your search term is. The developer told me to look for tips on how to achieve this with EmEditor @ https://docs.xbench.net/user-guide/xbench-settings/
的词汇表搜索程序那里解释了如何使用 Textpad 和 Notepad++ 实现此目的。
参见:
For example, to configure TextPad 4 for line positioning, you must select there the Textpad executable and specify the following in Command-Line Parameters: $filename($line,$column). Similarly, to configure Notepad++, you must select its executable and specify the following in Command-Line Parameters: $filename -n$line. Other text editors will require different values for this field. Please check your text editor’s documentation for the suitable values.
我查看了 EmEditors 命令行选项@http://www.emeditor.org/en/howto_file_file_commandline.html,但不知道该怎么做。有人可以帮助我吗?
Michael Beijer(technical/patent 译者)
请试试这个:
$filename /l $line /cl $column
如果文件名包含 space,您可能需要使用:
"$filename" /l $line /cl $column