TortoiseHg 2.0 adds variable expansion to tortoisehg.editor to allow you to open source files to particular lines. This is particularly useful when searching repository history.
In general, the syntax is:
$LINENUM and $SEARCH are key-phrases. If you specify them in a bracketed section and those parameters are not passed to the editor, the entire bracketed phrase is removed from the command line.
$FILE is optional. If it is not expanded in any phrase, the filename will be appended at the end of the command line.
More specific examples:
Tested on Windows 7 Professional : Scite v2.11, Notepad++ v5.6.8, Textpad v5.3.1.