Am 16.03.2011 um 23:31 schrieb MacNewbie:
> I'm new to the Mac and TextWrangler. I'm writing code and would like
> to
> be able to do block indent feature like in other editors I've used
> before. I've
> tried using the key combo for Shift Left and Shift Right, but
> unfortunately
> for me, nothing happens. I'm wondering if I'm doing something wrong.
>
> I found a similar question from back in 2009, where the questioner was
> asking a very similar thing. The responder was a bit of a jerk when
> replying,
> and the funny thing was that when I tried using Shift Right & Left,
> the default
> for TW, as the responder suggested, as I stated above, I had the same
> problem.
I'm not quite sure which feature you're looking for.
I use the "shift left" and "shift right" commands in the text menu and have attached the keyboard shortcuts ctrl-arrowLeft and ctrl-arrowRight to them. An alternative might be (p. 177 in the manual):
Allow Tab Key to Indent Text Blocks
When this option is on, you can press the Tab key to invoke the Shift Right command, or Shift-Tab to invoke the Shift Left command; this may be useful for those accustomed to Windows editing key behavior. When this option is off, pressing Tab will insert a tab character in the normal manner. This option is off by default.
This can be activated in the "Editing: Keyboard" pane in the preferences.
Hope this helps!
Thomas
Command+] to indent a highlighted block of text (or conversely Command+[ to unindent)
- Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
ebo...@ppri.tamu.edu
Office: +979.845.6754
> --
> You received this message because you are subscribed to the
> "TextWrangler Talk" discussion group on Google Groups.
> To post to this group, send email to textwr...@googlegroups.com
> To unsubscribe from this group, send email to
> textwrangler...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/textwrangler?hl=en
> If you have a feature request or would like to report a problem,
> please email "sup...@barebones.com" rather than posting to the group.
Image 2: Just as previously stated by other contributors, this allows you to highlight text and hit Tab to indent right and Shift + Tab to indent left. This is redundant though being that command + ] indents highlighted text right and command + [ indents highlighted text left by default.