[TxMt] Highlighting current line via a command

Michele Pasin michele.pasin at gmail.com
Mon Jan 11 19:07:13 UTC 2016


Is there a way to highlight (or flash) the line the cursor is on
programmatically?

Something like this:
===+===
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os

highlight(os.environ.get('TM_CURRENT_LINE', ""))

# ..do something else..
===+===

Many thanks in advance,
Michele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20160111/2e934bcb/attachment.html>


More information about the textmate mailing list