It is really helpful. Thank you very much.
Wish Brad and all other guys merry christmas!
Frank
----- Original Message ----
From: Brad Miller <bonelake(a)gmail.com>
To: TextMate users <textmate(a)lists.macromates.com>
Sent: Tuesday, December 18, 2007 12:55:06 AM
Subject: Re: [TxMt] help pls! how to make comments for the current line?
Type command - /
This will comment the current or selected lines. Another command you
should learn is control-command-t This allows you to quickly and
easily search for commands that are releveant in the current textmate
scope. For example if you type control-command-t and type comment you
will see several commands related to comments including the one above.
Brad
On Dec 17, 2007, at 7:40 AM, Frank_f wrote:
>
> hi all,
>
> I am a new user and have the latest version of TextMate, using it to
> do some
> Python programming.
> I am wondering what hot-keys I can use to make and eliminate
> comments for
> the current line or for the selected lines?
> I am using TextMate with default setting. So, should I add some
> snippets or
> something else?
>
> I really appreciate if I can get any help from your guys.
>
> regards,
>
> Frank
> --
> View this message in context: http://www.nabble.com/help-pls%21-how-to-make-comments-for-the-current-line…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
______________________________________________________________________
For new threads USE THIS: textmate(a)lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
hi all,
I am a new user and have the latest version of TextMate, using it to do some
Python programming.
I am wondering what hot-keys I can use to make and eliminate comments for
the current line or for the selected lines?
I am using TextMate with default setting. So, should I add some snippets or
something else?
I really appreciate if I can get any help from your guys.
regards,
Frank
--
View this message in context: http://www.nabble.com/help-pls%21-how-to-make-comments-for-the-current-line…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I understand that "<% -%>" doesn't make a new line in output.
But what's "<%- -%>"?
According to http://wiki.rubyonrails.org/rails/pages/FAQ#other ,
> How is <%- different from <% ?
> Apparently nobody knows.
>
Would it better to use <%- ? What's the best practice?
Does anybody avoid the start tag and tweak "Toggle ERb Tags" command?
Takaaki
--
Takaaki Kato
http://samuraicoder.net
I now use Textmate for all my drafting, and when I need to share a
draft with someone I simply e-mail as plain text or export an RTF for
better printing. I'm using Multimarkdown so that I can link to
established style sheets hosted on my personal website.
I've tweaked the "Convert to RTF" command in the MMD bundle to export
to Nisus Writer Express -- I'm hoping to develop a script or command
which will automatically create an appropriate header (based on some
variable, I'm not sure yet) -- but I was having the same problem in
TextEdit.
What's that problem? Even though I've got "font-size: 12pt;"
literally littered everywhere in the CSS file (see below), I'm seeing
16pt type either on direct export or if I preview in Textmate's built-
in browser and then copy and paste out to an RTF editor.
The CSS involved is like this:
@page
{
size: auto;
margin: 1in 1.5in 1in 1.5in;
orphans: 2;
widows: 2;
}
body
{
font-family: "Gentium Basic";
orphans: 2;
widows: 2;
font-size: 12pt;
}
h1
{
letter-spacing: 2pt;
font-weight: bold;
font-variant: uppercase;
margin-top: 4em;
page-break-after: avoid;
font-size: 12pt;
}
etc.
What am I doing wrong?
Hi,
maybe this is a very old hut, but still...
I really would like to be able to open an HTML page/code as TM HTML
output window from inside of an already opened HTML output window
because I need the TextMate.system() command.
There're several ways in my mind:
1) Javascript [don't work]
window.open('adress')
2) HTML [don't work]
<a href='adress' target='_new'></a>
3) shell [don't work]
mate -html 'adress' or cat 'adress' | mate -html
4) shell + Dialog 1/2 [don't know whether this would be possible, how
can I set the URL, and does TextMate.system() work?]
Write a nib containing a single WebView object
Any advices, hints? Or is this a feature request? I only need this
simple HTML output window without any buttons etc. I believe -
technically seen - it shouldn't be a problem ( Or? )
Thanks,
--Hans
Hi,
I've happily used textmate for about 2 years now and I love it --
thank you macromates for a great tool.
Last night in the middle of a work session the font rendering of
textmate suddenly degraded. It now looks like this:
(I use QuickType mono)
http://img2.freeimagehosting.net/image.php?7d959429cb.gif
This is what it looked like before, more or less, and still looks like
in textedit (but without syntax coloring of course:
http://img2.freeimagehosting.net/image.php?42baf8bee8.gif
Has anyone encountered this issue before? What things can I try to get
back to normal?
All fonts are affected, not just QuickType mono
1. Running 10.5 on a macbook pro
2. Happened during a time machine backup. I mention this because I had
problems with ATS server and the font caches while getting Time
machine backups working, where ats would start consuming a whole core
for hours and have to be killed. This was a week ago, and that problem
seemed to go away after deleting all Cache folders, turning off
spotlight indexing & backing up of Cache folders etc.
3. I've already deleted the ATS caches & rebooted as per the wiki page
I'm in a bit of a panic -- have a lot of work to do in two projects
and doing it with my most important productivity tool crippled is a
terrifying prospect :/
(I'm sure there are going to be people who don't think the first text
is much harder to read than the second, but it is for me and the font
rendering is one of the top 5 reasons I use a mac, so this is not
intended to open that whole discussion. I just want to know how to get
back what I'm used to looking at 8 hours a day :))
Cheers,
Michael Johnston
lastobelus(a)mac.com
Hi!
I like a code folding but simce i write Python in TM - code folding doesn't
work right... Sometimes its ok but some - weird.
So just stop fold code. Its fine but... Some time ago i read one article
about Django and find some interesting idea in that article - code folding
markers for vim.
Here is a short description:
we need to add new folding rule to fold code based on that pair of markers
#{{{
def test
...
#}}}
add regexp for folding and some macros/snippets doesn't hard (i hope ;) and
we will have working solution for Python (or any other lang) right now. I
mean in 1.5+ version ;-)
Link to full story about folding in vim:
http://www.amitu.com/blog/2007/july/vim-python-code-folding-and-my-vimrc/
Any ideas? I can't do it myself yet but i hope someone will...
Alexey
I'm running Textmate build 1436. I realised earlier today that
something weird was going on - Textmate seemed to think I'd lost a $
somewhere, but no errors were coming up when I ran Typeset & View. I
tried an experiment and added in some more errors, none of which were
showing up. I then tried processing the same file in Texshop, which
found all the errors.
I wondered if this might be due to me not having the latest Latex
bundle installed. I searched for a while to find out how to update
the bundle, couldn't find anything (perhaps it updates
automatically?!) and then installed GetBundle and opted to update all
bundles. I then tried again, and found that on top of failing to show
any errors, whenever I try to pdflatex a file an error message pops
up from Skim saying "the document *.pdf could not be opened" (where
*=document name). I then tried opening the pdf file in Preview, which
said "File error. Could not open the file."
At the bottom of the typeset and view window I see the following:
Document 'prescribedlifts7.pdf' not open in application 133:228:
execution error: Skim got an error: NSReceiverEvaluationScriptError:
4 (-1728)
Any help would be appreciated!
Toby Gee