Greetings:

I'm trying to recover a not-that-old BBEdit behavior: I want to be able to 
the shortcut key "Un/Comment Selection" in an empty selection and start 
typing a new comment. I remember that adjusting the Expert Preferences was 
the way to go, but I can't seem to get the same results. 

If I use:
% defaults write com.barebones.bbedit CommentWholeLineWithInsertionPoint 
-bool NO
... when I comment an empty selection, and empty comment is added at the 
insertion point, but the whole comment block is selected, so I have to 
deselect it and 'navigate' into it to start typing my comment.

If I use:
% defaults write com.barebones.bbedit CommentWholeLineWithInsertionPoint 
-bool YES
... I can hit the "Un/Comment Selection" shortcut with an empty selection 
and start typing my comment right away, beautiful (the comment block does 
not get selected), BUT if there's other text in that line (ie if I]m trying 
to add a comment AFTE some code), the whole line gets commented, of course, 
as you would expect by the preference name.

PreferLineCommentsWhenCommenting seems to have no bearing in either 
behavior.

So, the question: how can I get a *non-selected* empty comment, with the 
insertion point inside of it, when I hit "Un/Comment Selection" with an 
empty selection, regardless of whether there is other content in the same 
line or not?

I was so used to being able to do that that it is frustrating not to be 
able to do it anymore. I'm sure this change was brought up by *very* recent 
updates.

Using BBedit 10.5.1 (3250) in a MacBrook Pro running OSX 10.6.8

Thank you!!!












-- 
-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
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>



Reply via email to