A couple workarounds:
Use ShowRuler and Copy/Paste Ruler. This does something different, i.e.
it moves the margin for the selected lines, rather than inserting a tab,
but the visual effect is the same.
Or you could edit in TextWrangler, which has a "MoveRight" and
"MoveLeft" menu command -- and there is a context-coloring plug-in for R.
[EMAIL PROTECTED] wrote:
Date: Mon, 14 Jul 2008 09:47:55 -0400
From: "Day, Roger S." <[EMAIL PROTECTED]>
Subject: [R-SIG-Mac] curiosity about indenting and hyphens in R.app
editor
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
I've tried indenting a block of text in the R.app editor using a
standard
convention - highlight, then press "tab".
It doesn't work of course.
Trying alt-Tab to see if un-indenting works,
I found that alt-Tab inserts a tab, a hyphen-like character (but not a
hyphen;
unix od reports three bytes, 342 201 203),
and another tab.
On rare occasions, I find that in a session pasting anything at all
causes a set of lines to indent with the strange character imbedded.
Restarting R removes the behavior.
Cute stuff like filtering through a unix pipeline to add a tab
and pasting into the editor leads to the same strange character.
Not a complaint (though indenting and ex-denting a block would be
convenient),
just curious!
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac