[TxMt] Set Selection from a tmCommand
Hans-Joerg Bibiko
bibiko at eva.mpg.de
Mon Apr 2 07:36:04 UTC 2007
Hi,
would it be possible to set a selection in the current document by
using a tmCommand?
Example:
('|' is indicating the caret position)
-This is a te|xt line.
I invoke a tmCommand which calculates the starting point of a
selection, and it sets the selection to e.g.
('[' and ']' indicate the selection)
-This [is a te]xt line.
Thanks!
Best,
Hans
More information about the textmate
mailing list