A annoyance with the insert todo -macro and ruby is that if the cursor is
indended when using it it places the =begin and =end tags at the current
level. The problem is that ruby only regognizes them at the start of the
line.
So this works:
if true
puts "foo"
=begin
TODO:
=end
end
But this doesn't work:
if true
puts "foo"
=begin
TODO:
=end
end
I haven't had the time to look at the insert-todo code too much so I can't
provide a patch, but the correct behaviour would be to make sure that
there is no whitespace before the comment block tags.
(IMO is rather silly of ruby that block comments can't have whitespace
before the =begin and =end tags...)
hello,i'm wondering if is any rule to select a text and drag it with the
mouse to another location. i'm asking this because it's not always working,
somoetimes it deselects few times till i succeed.
--
Cristi
www.ralcr.com
Hello,
I'm a fresh user of TextMate, and I have a little problem. By default there
is something assigned to the Alt+Shift+S keys combination. This "something"
prints a message:
cat: /tmp/TextMate-ScratchSnippet.txt: No such file or directory
The problem is that this keys combination is also a combination for the
Polish letter "Ś", so it's difficult to write regular Polish text. Is there
a way to turn this shortcut off?
Thank You for help.
ED
--
View this message in context: http://www.nabble.com/Shortcut-Alt%2BShift%2BS-conflict-tp18045393p18045393…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I would like to gather some suggestions for the following.
1) Don't want to go into that Latex thing.
2) Keep chapters in simple Text Format ( or markdown or Textile )
3) Project also contains a huge amount of reference files in txt and pdf
format
4) What's the best way to handle:
a) Index
b) footnotes
c) References
d) Appendixes etc.
Is it a good thing to keep the Book in one single file, or is it better
to use multiple files ?
Suggestions, links and resources welcome
regards, marios
Hi,
I just tried to summarize my experiences with the problem:
How to insert an UTF-8 encoded text by using an HTML output window
(via TextMate.system() and AppleScript)?
[and without beeping ;)]
AND
How to be compatible with Tiger and Leopard?
in a tiny wiki article:
http://wiki.macromates.com/HowTo/InsertUTF8TextByUsingAnHTMLwindow
I'd be appreciated if someone has any comments ;) (maybe for an easier
solution)
--Hans
Hi guys!
I bought TextMate a few days ago, but Python editing is giving me the creeps.
First, I disabled the Auto-pair characters option, but I still get the
closing parenthesis and colon when I create a function ("def"). It
ignores when I type the closing parenthesis, but it doesn't ignore the
colon.
Second, it seems TextMate get really confused when you follow PEP8: If
you use spaces instead of tabs, it doesn't do auto-indentation in the
next line. In the same issue, it seems TextMate uses tabs instead of
spaces (against the PEP8.)
Third, still in the PEP8-issues, I'm trying to find a way to make
hard-breaks when going beyond column 78. TextMate have soft-breaks,
but I'd really like to have it to automagically insert the break for
me (and add an indentation to the next line.)
Fourth, PyCheckMate doesn't understand when you do an indentation when
you do a hard-break and add the indentation (it complains about
"unexpected indent".)
I guess most of it is easily fixable messing with the Bundle, but I
still didn't grasp the whole concept of it. Any points would be really
helpful.
--
Julio Biason <julio.biason(a)gmail.com>
Twitter: http://twitter.com/juliobiason
I've swapped my Caps Lock and Control keys on my keyboard under System
Preferences (Keyboard & Mouse > Modifier Keys...), but now the
wonderful Paste from history (CTRL+OPTION+CMD+V) no longer works. Does
anybody know of a workaround?
Thanks,
Nate
Our development team has been tracking some odd behaviour with SVN commits
and updates.
We are primarily a three man team and we all commit code into our repo which
works well.
However, we've noticed that after I perform a project wide search and
replace using regex and then commit, the data committed is not from the
current file. The regex replacements are actually carried out on what
appears to be a copy of the file from the last "Save Project" date.
For example:
"appCaches.php" is a file maintained by subversion. Download the files,
here: http://www.mattmecham.com/images/appcachefiles.zip
r#1355 was made by me on 21st May - which coincides with the last time I
chose "Save Project" even though I choose "Save All" regularly.
r#1479 was committed by a member of the development team adding data to the
file. Although I chose rev 1479, this file was committed around 1450ish and
hasn't changed until I did my global search and replace, so it's not just a
one revision increment problem.
r#1480 was made by me after performing a global search and replace. As you
can see, it's actually performed a search and replace on r#1355, not r#1479!
What does TextMate do when you choose "Save Project"? I thought it just
updated the xml file containing data about open files. Does the regex search
and replace work on cached copies anywhere?
Thanks
--
View this message in context: http://www.nabble.com/SVN%2C-Save-Project%2C-Regex-search-and-replace-tp180…
Sent from the textmate users mailing list archive at Nabble.com.