On 28 Sep 2014, at 11:19, Hans-Jörg Bibiko bibiko@eva.mpg.de wrote:
TextMate.system('[[ -z $TM_SELECTED_TEXT ]] && "$TM_MATE" -l"$TM_LINE_NUMBER:1-$TM_LINE_NUMBER:1000000"', null);
Hmm, but this leads to another issue: How to get the actual _current_ line number since TM_QUERY or TM_LINE_NUMBER rely on the bash starting environment?
And while the HTML output window is open the user can change the caret.
Yet another idea?
Best, Hans