[TxMt Plugins] caret location

Allan Odgaard throw-away-1 at macromates.com
Tue May 8 14:32:23 UTC 2007


On 8. May 2007, at 07:04, Kirt Fitzpatrick wrote:

> Does anyone know how to obtain the caret location either in the  
> line or in the file?  selectedRanges is not implemented by  
> OakTextView.

The class does not expose this via any attributes.

It does however have lineNumber and columnNumber as bindable  
properties. So in practice you can use that to get the line/column  
position.




More information about the textmate-plugins mailing list