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:
If no line number is being passed to the editor, the braces and everything between are removed. $FILE is optional, if it is not specified the filename is appended.
More specific examples:
- For Scite (the Scintilla example editor) (tested with v2.11) (free, open source) :
The quotes are mandatory, as I experienced. Scite is also available on Linux.
- For NotePad++ (tested with v5.6.8) (free, open source, gpl) :
I experienced the '-multiInst' option as case-sensitive.
- For TextPad (tested with v5.3.1) (shareware) :