When working on R source files I am unable to enter dollar signs in column editing mode. When I select a column and type $, only one is entered in the first line and the column mode is left. This happens regardless of width of selection.
On my system I can replicate this by creating a new R file consisting of
foo_bar foo_bar
selecting the column with the underscore and typing $
which yields:
foo$bar foobar
with the caret after the $.
Oddly this doesn't occur if I type another character before typing the dollar sign.
TIA
Peter
On 14. Apr 2007, at 06:50, Peter Cowan wrote:
When working on R source files I am unable to enter dollar signs in column editing mode. When I select a column and type $, only one is entered in the first line and the column mode is left. This happens regardless of width of selection.
Try ⌃⌘T, switch to Key Equivalent searching and see if you have something bound to R.
For me it works fine.
Allan,
Yes, there is a snippet in the SWeave bundle which is bound to $. Deleting the key equivalent fixed the issue.
Who maintains the SWeave bundle? What does that snippet accomplish?
Cheers
Peter
On 4/13/07, Allan Odgaard throw-away-1@macromates.com wrote:
On 14. Apr 2007, at 06:50, Peter Cowan wrote:
When working on R source files I am unable to enter dollar signs in column editing mode. When I select a column and type $, only one is entered in the first line and the column mode is left. This happens regardless of width of selection.
Try ⌃⌘T, switch to Key Equivalent searching and see if you have something bound to R.
For me it works fine.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Apr 14, 2007, at 2:04 PM, Peter Cowan wrote:
Allan,
Yes, there is a snippet in the SWeave bundle which is bound to $. Deleting the key equivalent fixed the issue.
Who maintains the SWeave bundle? What does that snippet accomplish?
Sorry my bad, this snippet was meant to only be a local snippet on my computer. I have a command in my custom LaTeX bundle, bound to $, which inserts a ( ... ), and unfortunately in Sweave mode that command was acting within the R code as well, so I had this snippet to override that. Its scope was suboptimal to say the least ;).
I have now removed it from the repository.
Cheers
Peter
Haris Skiadas Department of Mathematics and Computer Science Hanover College