Re: Cursor Movement & Selection Shortcuts

2012-08-24 Thread Oliver Boermans
On 25/08/2012, at 3:49 AM, Oliver Taylor wrote: > I think I might switch to this. Good work! Cheers, pleased to contribute! -- @ollicle -- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbed

Re: Cursor Movement & Selection Shortcuts

2012-08-24 Thread Oliver Taylor
On Aug 23, 2012, at 4:37 PM, Oliver Boermans wrote: > I’m curious, what punctuation would this regex not account for?: > > (?<=\w)\b(?![^\w\s]\w) I think I might switch to this. Good work! -- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Go

Re: Cursor Movement & Selection Shortcuts

2012-08-23 Thread Oliver Boermans
Hi again, On 24 August 2012 00:32, Oliver Taylor wrote: > My first approach to this problem was identical to yours, look for the > boundary between a word character and a word border. But this is no > different than using the option-right-arrow shortcut. It is slightly different in that it doesn

Re: Cursor Movement & Selection Shortcuts

2012-08-23 Thread Oliver Taylor
>> I noticed “Go To Next Word, End” ignores words which are followed by >> punctuation (except full stops) rather than a space: > I took off my lazy hat and had a go rewriting the regex myself: > > tell application "BBEdit" > find "(?<=\\w)\\b" searching in text of front text window option

Re: Cursor Movement & Selection Shortcuts

2012-08-23 Thread Oliver Boermans
I took off my lazy hat and had a go rewriting the regex myself: tell application "BBEdit" find "(?<=\\w)\\b" searching in text of front text window options {search mode:grep, starting at top:false, wrap around:false, backwards:false, case sensitive:false, match words:false, extend selectio

Re: Cursor Movement & Selection Shortcuts

2012-08-23 Thread Oliver Boermans
Thanks for sharing! On 10 August 2012 08:37, Oliver Taylor wrote: > Download Package: http://olivertaylor.net/bbedit_movement/ > > I recently became obsessed with cursor movement and selection shortcuts in > BBEdit… I’ve downloaded your collection and have been working through and playing with

Re: BBEdit Cursor Movement & Selection Shortcuts – Adapted to select paragraphs

2012-08-21 Thread Pierre Igot
On Tuesday, August 21, 2012 5:27:06 PM UTC-3, Christopher Stone wrote: > > Okay. I'm glad you mentioned this, since it's very germane to the problem. > > This slightly modified script should fix the find-backwards problem. > > I assume you have the Keyboard Maestro shortcut set to 'Key Pressed'

Re: BBEdit Cursor Movement & Selection Shortcuts – Adapted to select paragraphs

2012-08-21 Thread Christopher Stone
On Aug 21, 2012, at 14:10, Pierre Igot wrote: > I should add: I use Keyboard Maestro for this because BBEdit does not allow > me to assign the option-shift-Up and option-shift-Down shortcuts to scripts. __ Hey Pierre, Okay. I'

Re: BBEdit Cursor Movement & Selection Shortcuts – Adapted to select paragraphs

2012-08-21 Thread Pierre Igot
I should add: I use Keyboard Maestro for this because BBEdit does not allow me to assign the option-shift-Up and option-shift-Down shortcuts to scripts. If I use BBEdit's shortcuts pref pane to assign other shortcuts that BBEdit supports, the script repeating works properly in both directions.

Re: BBEdit Cursor Movement & Selection Shortcuts – Adapted to select paragraphs

2012-08-21 Thread Pierre Igot
On Tuesday, August 21, 2012 3:43:41 PM UTC-3, Christopher Stone wrote: > > I talked to Patrick at Bare Bones, and he says the backward find with > extending selection not working issue is NOT a bug but a technical problem > (read can-of-worms) that is unlikely to change in the near future. >

Re: BBEdit Cursor Movement & Selection Shortcuts – Adapted to select paragraphs

2012-08-21 Thread Christopher Stone
On Aug 21, 2012, at 12:48, Pierre Igot wrote: > It seems to be working, but I'd appreciate it if you could have a quick look > and let me know if there's anything that I've misunderstood or that might > need to be adjusted. __

Re: BBEdit Cursor Movement & Selection Shortcuts – Adapted to select paragraphs

2012-08-21 Thread Pierre Igot
On Tuesday, August 21, 2012 9:45:30 AM UTC-3, Christopher Stone wrote: > > Hey Pierre, > > It looks to me like you've exposed a bug. I've got a query in to support, > so we'll see. > > In the meantime this rather quick and dirty script works. > > > --

Re: BBEdit Cursor Movement & Selection Shortcuts – Adapted to select paragraphs

2012-08-21 Thread Christopher Stone
On Aug 21, 2012, at 06:32, Pierre Igot wrote: > I have other, simpler scripts that sort of work for this, but the grep-based > approach is obviously the most effective. If only I could make it work... __ Hey Pierre, It looks to

BBEdit Cursor Movement & Selection Shortcuts – Adapted to select paragraphs

2012-08-21 Thread Pierre Igot
A few days ago, I came across this: http://olivertaylor.net/bbedit_movement/ Then I wrote this: http://www.betalogue.com/2012/08/14/bbedit-paragraphs/ I was able to adapt a couple of the scripts to extend the selection paragraph by paragraph. But while the script to extend downwards works fin

Cursor Movement & Selection Shortcuts

2012-08-09 Thread Oliver Taylor
Download Package: http://olivertaylor.net/bbedit_movement/ I recently became obsessed with cursor movement and selection shortcuts in BBEdit. I spend an enormous amount of time restructuring and rephrasing prose sentences - writing is rewriting after all. Sadly, our digital tools for this are c