Hi,
Working in a TM project, I often have this problem:
I want to compare code with another file in the project. I want to
see them both at once; possibly to edit one or the other or both.
Then I find I can only look at one of the files at a time - the
second file always opens in place of the first one, inside the
project. I have to trust my memory about what the first file said.
Bad idea, usually. :-)
My current workaround is to create a new document, and copy code from
the second file into it, so it can float beside the project. But this
is a poor replacement for two active windows; takes several steps,
and only one of the files can be edited actively.
I could also close the project, and open both files. Again, a poor workaround.
Is there any other way?
If not, is there anyone else who'd agree this would be a nice feature for 2.0?
Especially this happens with CSS cascade files, where I need to
choose how the same parameters are controlled at different levels.
Steven Rowat
Hi all,
I got a Mac Book Pro and this is my first time using Mac. I have
been using the evaluated version of TextMate and found couple problems:
1) The top folder in the drawer occasionally closes when I switch to a
space and back. It doesn't remember which folders that I have
previously opened.
2) I have read the key binding help pages for page up/down keys.
However, I seriously cannot find the page up/down keys on my Mac book
pro keyboard. What is the alternative?
3) Will the split screen editing include in the next release? I find
it difficult without such feature.
Many thanks in advance.
Joe
Hi all,
I'm working on implementing an "Ammend Commit" feature to the git
textmate bundle. Anyone around here know if it's possible to pre-
populate the message? I'm trying to do is make it populated with the
text from the previous commit.
Thanks!
Tim
On Mon, Apr 14, 2008 at 8:31 PM, Derek Belrose <derekb(a)realgeeky.com> wrote:
>
> On Apr 14, 2008, at 2:19 PM, Niels Kobschaetzki wrote:
>
> >
> > Well, with no real meta-key quite hard ;)
> >
> > Niels *who wonders which the right meta-key in the cli outside of Xorg
> > is…right now he goes left control (on FreeBSD 7)*
> >
>
> Well, in linux 'alt' is my meta key and esc is as well...but neither of
> those work in textmate.
in FreeBSD alt isn't a meta-key (in a TTY) and I can't remap it to
meta because changing TTYs isn't possible anymore. I mapped control to
caps and meta to control (you still need esc for…well esc ;) ) -- and
then there's meta on the win-key but that's awkwardly placed above
backspace
Niels
Doing a ⌃H document lookup in a Ruby on Rails file won't lead me to
the desired documentation. Instead, the lookup disambiguation menu
loops infinitely.
This is, I assume, a problem with my Ruby installation, but it
particularly bites me in TextMate, and I hope someone here can point
me to a solution. I am running Ruby 1.8.6 (supplied with Leopard),
Rails 1.2.6 (supplied with Leopard), ri 1.0.1 - 20041108, and TextMate
1.5.7 (1455). I am not aware of having installed any additional Ruby
or Rails.
If I type "delete" in a Ruby on Rails document, and press ⌃H to look
it up in the documentation, I find among the many choices
"ActiveRecord::Base::delete". Selecting that does not produce the
documentation window, but shows a second context menu containing:
ActiveRecord::Base::delete 1
ActiveRecord::Base::delete_all 2
ActiveRecord::Base::delete 3
ActiveRecord::Base::delete_all 4
Selecting one of these simply reopens the menu, and I'm stymied. I
can't get my documentation.
"ri delete" on the command line produces a list in which every entry
is duplicated. Refining to ActiveRecord::Base::delete shows
ActiveRecord::Base::delete, ActiveRecord::Base::delete_all,
ActiveRecord::Base::delete, ActiveRecord::Base::delete_all
… and once again, I'm stymied. That's why I conclude it's a Ruby/
Rails installation problem. I'm not experienced enough to trace it.
Can anyone offer/point me to a fix?
— F
Hi,
Has anyone else found that it's far too easy to accidentally delete folded
code in textmate
(without noticing!)?
Several times I've found that the body of functions I thought I had safely
folded away
seemed to just disappear, because I must have accidentally hit backspace
onto the
"...".
Obviously this could lead to disaster -- does anyone know of a way to
disable deletion
of folded text? If I can't find a solution to this problem I may have to
stop using
textmate for coding (which would be a shame, because otherwise I like it).
thanks,
Ben
Hi,
Has anyone else found that it's far too easy to accidentally delete folded
code in textmate
(without noticing!)?
Several times I've found that the body of functions I thought I had safely
folded away
seemed to just disappear, because I must have accidentally hit backspace
onto the
"...".
Obviously this could lead to disaster -- does anyone know of a way to
disable deletion
of folded text? If I can't find a solution to this problem I may have to
stop using
textmate for coding (which would be a shame, because otherwise I like it).
thanks,
Ben
--
View this message in context: http://www.nabble.com/Accidental-deletion-of-folded-code-tp16662190p1666219…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
If I run a Command-R against RSpec file. I get an error as the
following:
/Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/
Support/lib/text_mate_formatter.rb:5: uninitialized constant
Spec::Runner::Formatter::HtmlFormatter (NameError) from /System/
Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/
rubygems/custom_require.rb:27:in `gem_original_require' from /System/
Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/
rubygems/custom_require.rb:27:in `require' from /Library/Application
Support/TextMate/Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:
14 from /tmp/temp_textmate.bxz8HJ:3:in `require' from /tmp/
temp_textmate.bxz8HJ:3
Here is the file.
# text_mate_formatter.rb
module Spec
module Runner
module Formatter
# Formats backtraces so they're clickable by TextMate
class TextMateFormatter < HtmlFormatter
def backtrace_line(line)
line.gsub(/([^:]*\.rb):(\d*)/) do
"<a href=\"txmt://open?url=file://
#{File.expand_path($1)}&line=#{$2}\">#{$1}:#{$2}</a> "
end
end
end
end
end
end
Running tests from Terminal works. I think I'm supposed see a colorful
result in the window, right?
Any help would be appricated.
Takaaki
--
Takaaki Kato
http://samuraicoder.net
I'm searching for a way to run a validate Web pages created in TextMate.
The site has headers and footers via php includes for each page.
If this possible?
Thank you very much,
Bob DeLaurentis