Manually specify Selection?

View: New views
4 Messages — Rating Filter:   Alert me  

Manually specify Selection?

by Kirt Fitzpatrick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does TextMate implement any method that would allow me to manually specify the selection?  Or am I limited to the "moveRightAndModifySelection" types of methods?  I'm willing to put up with any amount of complexity to implement this functionality if someone can point me in the right direction.

kirt

_______________________________________________
textmate-plugins mailing list
textmate-plugins@...
http://lists.macromates.com/mailman/listinfo/textmate-plugins

Re: Manually specify Selection?

by Allan Odgaard-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 22. Apr 2007, at 00:05, Kirt Fitzpatrick wrote:

> Does TextMate implement any method that would allow me to manually  
> specify the selection?  Or am I limited to the  
> "moveRightAndModifySelection" types of methods?  I'm willing to put  
> up with any amount of complexity to implement this functionality if  
> someone can point me in the right direction.

You’re unfortunately limited to the *AndModifySelection methods.


_______________________________________________
textmate-plugins mailing list
textmate-plugins@...
http://lists.macromates.com/mailman/listinfo/textmate-plugins

Re: Manually specify Selection?

by Ciarán Walsh-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 22 Apr 2007, at 04:41, Allan Odgaard wrote:

On 22. Apr 2007, at 00:05, Kirt Fitzpatrick wrote:


Does TextMate implement any method that would allow me to manually specify the selection?  Or am I limited to the "moveRightAndModifySelection" types of methods?  I'm willing to put up with any amount of complexity to implement this functionality if someone can point me in the right direction.


You’re unfortunately limited to the *AndModifySelection methods.


I’m trying to move the caret from a plugin but:

*** -[OakTextView moveDown:]: selector not recognized [self = 0x16451550]

I tried a moveLeftAndModifySelection: too with the same result. Am I missing something?

_______________________________________________
textmate-plugins mailing list
textmate-plugins@...
http://lists.macromates.com/mailman/listinfo/textmate-plugins

Re: Manually specify Selection?

by Allan Odgaard-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Aug 25, 2007, at 3:17 AM, Ciarán Walsh wrote:

> [...]
> I’m trying to move the caret from a plugin but:
>
> *** -[OakTextView moveDown:]: selector not recognized [self =  
> 0x16451550]
>
> I tried a moveLeftAndModifySelection: too with the same result. Am  
> I missing something?

http://lists.macromates.com/pipermail/textmate-plugins/2007-March/ 
000037.html

_______________________________________________
textmate-plugins mailing list
textmate-plugins@...
http://lists.macromates.com/mailman/listinfo/textmate-plugins