Hey, Oliver!

Thanks for the reply!


> Am 28.11.2014 um 18:54 schrieb Oliver Taylor <[email protected]>:
> 
> 
> On Nov 27, 2014, at 6:49 PM, Vlad Ghitulescu <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Is there a way to get rid of the CR while selecting the line with CMD-L?
> 
> Not a built in way. But you can easily accomplish this with AppleScript. Just 
> search backwards for the beginning of the line, then forwards to the end of 
> the line (without newline) and assign the script a shortcut. 
> 
> There is some sample code here that might help you get started: 
> https://github.com/olivertaylor/BetterTongs.bbpackage 
> <https://github.com/olivertaylor/BetterTongs.bbpackage>Yes, you’re right: I 
> didn’t even think about the possibility to code myself the desired behavior! 
> :-( I must learn to see it this way!
I’ll check the code.

Waiting for an answer I did a Keyboard Maestro macro that solved my problem: it 
simulates CMD-left arrow and after this shift-CMD-right arrow, so that it 
selects the line whitout CR:


I don’t know now if KBM it’s better or not than an AppleScript in this case… 
I’ll find out!

Thanks again!


Regards,
Vlad


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to