[TxMt] Re: Range of selection string / environment variable TM_SELECTION

Kai Wood lists at kwood.eu
Thu Jan 16 14:42:11 UTC 2014

On 16.01.2014, at 14:24, Allan Odgaard <mailinglist at textmate.org> wrote:

> Can you tell what info it is you wish to extract? As I believe the value of TM_SELECTION should be enough to tell you exactly what you need (without having to look at TM_SELECTED_TEXT).

I need the first and last line number in a range of lines where either a blinking cursor or a selection appears in the document. Only visible selections count.

More information about the textmate mailing list