I did not find those properties as exposedBindings for OakTextView.&nbsp; My test code follows:<br><br>&nbsp;&nbsp;&nbsp; bindings = [responder exposedBindings];<br>&nbsp;&nbsp;&nbsp; int i;<br><br>&nbsp;&nbsp;&nbsp; for ( i=0; i &lt; [bindings count]; i++ ) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NSLog( @&quot;binding: %@&quot;, [bindings objectAtIndex:i] );
<br>&nbsp;&nbsp;&nbsp; }<br><br><br>This produced the following output.<br>&nbsp;&nbsp;&nbsp; 2007-05-08 09:43:51.800 TextMate[915] binding: hidden<br>&nbsp;&nbsp;&nbsp; 2007-05-08 09:43:51.800 TextMate[915] binding: toolTip<br><br><br><br>Also attempting to bind to lineNumber or columnNumber 
<br>&nbsp;&nbsp;&nbsp; [self bind:@&quot;lineNumber&quot; toObject:responder withKeyPath:@&quot;lineNumber&quot; options:nil];<br><br><br>causes the following error<br>&nbsp;&nbsp;&nbsp;&nbsp;
[&lt;OakTextView 0x630c50&gt; valueForUndefinedKey:]: this class is not key value coding-compliant for the key lineNumber<br><br><br><br>However lineNumber and columnNumber appear to be available in OakStatusBar.&nbsp; But I do not know how to grab that object.&nbsp; Any ideas?
<br><br>thanks again,<br>kirt<br><br><div><span class="gmail_quote">On 5/8/07, <b class="gmail_sendername">Allan Odgaard</b> &lt;<a href="mailto:throw-away-1@macromates.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

throw-away-1@macromates.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 8. May 2007, at 07:04, Kirt Fitzpatrick wrote:<br><br>&gt; Does anyone know how to obtain the caret location either in the
<br>&gt; line or in the file?&nbsp;&nbsp;selectedRanges is not implemented by<br>&gt; OakTextView.<br><br>The class does not expose this via any attributes.<br><br>It does however have lineNumber and columnNumber as bindable<br>properties. So in practice you can use that to get the line/column
<br>position.<br><br>_______________________________________________<br>textmate-plugins mailing list<br><a href="mailto:textmate-plugins@lists.macromates.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

textmate-plugins@lists.macromates.com</a><br><a href="http://lists.macromates.com/mailman/listinfo/textmate-plugins" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.macromates.com/mailman/listinfo/textmate-plugins</a><br></blockquote></div><br>