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
I see.. I was hoping there was a way to invoke one of the existing menu commands (e.g. Edit>Select>Line).
Many thanks for clarifying, I'll think of an alternative solution.
On 13 January 2016 at 11:59, Allan Odgaard mailinglist@textmate.org wrote:
On 11 Jan 2016, at 20:07, Michele Pasin wrote:
Is there a way to highlight (or flash) the line the cursor is on programmatically?
Such API does not exist.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate