Select word

2013-07-03 Thread Rick Yentzer
for is a way to select a word and then select more words until I get the selection I want. I'll use this as an example: *grunt-contrib-nodeunit * If my cursor is in the middle of the word contrib then I can double click to select it, or I can use John Gruber's Select Word script. If my cursor

Re: Select word

2013-07-03 Thread Marshall Clow
On Jul 3, 2013, at 6:36 AM, Rick Yentzer ryent...@gmail.com wrote: After searching the manual and this forum I was unable to find the solution I'm looking for so here goes. I do most of my coding work on my macbook pro. So I don't have the extended keyboard and I'm trying to save my

Re: Select word

2013-07-03 Thread David Dierauer
On Wed, 3 Jul 2013, Rick Yentzer wrote: *snip* I'll use this as an example: *grunt-contrib-nodeunit * If my cursor is in the middle of the word contrib then I can double click to select it, or I can use John Gruber's Select Word script. If my cursor is in the middle of contrib and I want

Re: Select word

2013-07-03 Thread Roland Küffner
Am 03.07.2013 um 15:36 schrieb Rick Yentzer ryent...@gmail.com: What I'm looking for is a way to select a word and then select more words until I get the selection I want. grunt-contrib-nodeunit If my cursor is in the middle of contrib and I want to select the text between the double

Re: Select word

2013-07-03 Thread Rick Yentzer
get the selection I want. I'll use this as an example: *grunt-contrib-nodeunit * If my cursor is in the middle of the word contrib then I can double click to select it, or I can use John Gruber's Select Word script. If my cursor is in the middle of contrib and I want to select the text

Re: Select word

2013-07-03 Thread Roland Küffner
Am 03.07.2013 um 21:05 schrieb Rick Yentzer ryent...@gmail.com: Addition: Is there a script to select text between opening and closing tags? no script needed. See Balance in the View Menu and Balance Tags in the Markup Menu -Roland -- This is the BBEdit Talk public discussion group. If you

Re: Select word

2013-07-03 Thread Rick Yentzer
Palm to forehead! Thanks. Rick On Wednesday, July 3, 2013 3:41:54 PM UTC-4, Roland Küffner wrote: Am 03.07.2013 um 21:05 schrieb Rick Yentzer ryen...@gmail.comjavascript:: Addition: Is there a script to select text between opening and closing tags? no script needed. See Balance in

Re: Select word

2013-07-03 Thread Oliver Taylor
double click to select it, or I can use John Gruber's Select Word script. If my cursor is in the middle of contrib and I want to select the text between the double quotes, what is the best solution? See here: http://olivertaylor.net/bbedit_movement/ The select word script in that package

Re: A different kind of select word

2012-12-14 Thread John Delacour
On 17/10/2012 23:10, Oliver Taylor wrote: Is it possible to test the found text*of* nextChar as regex? If you can point me in the right direction, I'd be grateful. *tell* /application/ BBEdit --look at the next character *set* nextChar*to* *find*. searching in/text/*of* *front* /text

Re: A different kind of select word

2012-10-18 Thread Oliver Taylor
On Oct 18, 2012, at 7:58 AM, David Cortesi davecort...@gmail.com wrote: So one way to find a word is to look forward for \W then back for \W\w+ however this is not going to hit at beginning or end of line (of file, if ?-m given), so \b\w+\b is perhaps a better choice. The problem with this

A different kind of select word

2012-10-17 Thread Oliver Taylor
I'm trying to write a different kind of Select Word script. I've used Gruber's and several others, but find them lacking or buggy in lengthy documents. Because I'm an applescript simpleton, and this is an interesting exercise, I've done it with a chain of grep searches. The logic I'm using

Re: A different kind of select word

2012-10-17 Thread Kendall Conrad
I've used something like this with a couple of my scripts. if character 1 of found text of nextChar is in (characters 1 through -1 of ,;'\) then -Kendall On Wednesday, October 17, 2012 6:17:22 PM UTC-4, Oliver Taylor wrote: I'm trying to write a different kind of Select Word script. I've

Select Word Menu Script

2012-10-04 Thread Oliver Taylor
BBEdit's Change Case command is useful, but if there is no selection it acts on the entire document. I cannot think of a single situation in which I'd like to change the case of the entire document. It makes much more sense to change the selection and fallback to the current word when there is