[TxMt] Pasting and indents

Jack Baty jackbaty at gmail.com
Fri Jun 10 15:20:54 UTC 2005


Has anyone had problems with pasting and indenting? I found a message
from last october but no followup.

What happens is that whenever I paste code, things are "double"
indented. For example, if I select, copy and paste just the 2 middle
lines of the following...

1 def index
2    @todos = Todo.find(:all, :include => [:users, :job])
3     render_partial_collection "todo", @todos
4 end

... I end up with this...

1 def index
2     @todos = Todo.find(:all, :include => [:users, :job])
3     render_partial_collection "todo", @todos
4     @todos = Todo.find(:all, :include => [:users, :job])
5             render_partial_collection "todo", @todos
6 end

Line #5  shouldn't be indented any more than line #6, yet it's
indented with 2 additional tabs (or set of 4 spaces, doesn't matter
which I use). That's not supposed to happen, right?

Using b12. 


-- 
Jack Baty - Director of Unspecified Services
Fusionary Media - http://www.fusionary.com
Weblog - http://blog.jackbaty.com



More information about the textmate mailing list