In looking at how spell checking in comments works, and searching the
archives for alternatives and suggestions, I can see spelling is
disabled in comments because, as Alan points out, "a lot of comments
are actually commented out code." Good point, and I can clearly see
there is no one way that can make everyone happy.
In my case, a tremendous amount of useful documentation is in code
comments, and spelling errors make the code less professional. I am
constantly going to an external editor, or typing the comment into a
blank area of the document inside a quote so that TextMate thinks it
is a string, then removing the quote and hitting command+/. I'm
thinking about crating a shell script or bundle or something to do all
this.
Does anyone have any more "elegant" suggestions?
It would be great if there was a way, for example, to have a menu item
(perhaps even a bundle) that could just spell check the selection
regardless of the context.
Thank you for any suggestions.
Doc
Hi all,
I'm trying to add an invalid scope to a certain group of lines. Basically,
the regex pattern I would like to match is this:
^(\n){2,}
Which works fine in the Find dialog, but when trying to use it as a pattern,
it doesn't work. I am guessing because of the way that the pattern matching
works for grammars, but is there a way to match this?
The logic is, I would like to match every line that has no content on it,
but is part of a group of 2 or more extraneous lines.
One \n is valid, but 2 or more is invalid.
I've tried so many variations of trying to use captures, matching content,
but it seems to be treating each line as it's own match independent of the
previous or next ones.
Anyone know how I might go about applying this?
Any help is greatly appreciated.
Thanks!
--
View this message in context: http://www.nabble.com/Matching-multiple-lines-in-a-grammar-pattern-tp189011…
Sent from the textmate users mailing list archive at Nabble.com.
Hi Textmate and LaTex-Users,
with my current workflow writing a masters thesis I frequently add
books via BibDesk to my bibliography.
Currently I have to run BibTex separatly to propagate changes in my
*.bib file to the latex main document. But I think this could also be
done by the latex_watch.pl script of the latex bundle. Is this possible?
Cheers,
Jan
On Aug 7, 2008, at 2:02 AM, textmate-request(a)lists.macromates.com wrote:
> On Aug 6, 2008, at 11:21 PM, Nick wrote:
>> It's kind of funny to me that my two favorite programs by far
>> (textmate and quicksilver) have a completely unknown development
>> schedule (although quicksilver's is now dead :[ ). oh well! Theyre
>> both kind of like os x - you can't complain very legitimately about
>> their faults because they're just so much better than the
>> alternatives.
>>
>
> Sure you can. Mac OS X users traditionally complain loudly about
> faults and grievances they find with OS X. You'll rarely find a more
> critical bunch than aggrieved Mac users. That a piece of software is
> good does not make it impervious to criticism.
>
> Someone else brought up MacVim, and it's an interesting point. For a
> long time, I used Textmate exclusively. But now, I only use Textmate
> around 50% of the time -- the other half taken up by MacVim, when I
> need split panes, remote editing, or an editor that will not choke on
> large text files.
+1 for MacVim; I use it exclusively now.
I must be one of the few that got TM1 specifically because TM2 was
advertised as a free upgrade. I figured I would learn what the editor
was all about and be familiar with the basics when the new version
came out, I assumed, soon after Leopard.
Well, that time came and went and there are enough niggling things in
TM, particularly with the python bundle (the language I edit the
most), that I went searching elsewhere. For me the single most
frustrating thing with the python bundle is that you need to add blank
lines with spaces to line up the end of a class / def in order for
code folding to work. That is not only annoying for me, but other
team members as well. A close #2 is also with folding, which breaks
if you start function parameters on a new line rather than on the same
line, e.g.
test = some_func(
param1, param2)
Perfectly legal, but you need to do this in order to have any hope
folding code:
test = some_func(\
param1, param2)
Legal, but annoying, especially working with a team where I don't have
control of the entire source's coding style.
-berto.
Hey,
I tried sending this a week ago to the mailing list through that
webinterface, Nabble, but as there was no responses, I recon it didn't come
through, so here I try again:
I just noticed a peculiar bug with the scrollbars when browsing the
database. Apparently, the resizing of the window often causes some of the
scrollbars to be either fully or partially hidden. I've tried searching the
posts through nabble.com and it didn't seem this issue was debated, but as
this is my first time here, I apologize if I was wrong...
I've recorded a little video which demonstrates the bug. Textmate is build
1464.
http://skythost.com/stuff/textmatescrollbarbug.mov
Regards,
Morten Skyt
Hi, I'm new.
I'm working on a custom Textpattern installation and my client has
entered a massive amount of text data in certain fields using
UPPERCASE. He wants the text displayed in Title Case instead, and he
doesn’t want to manually change it. I can easily use the style
declaration "text-transform: capitalize;" for these elements, but my
client would very much prefer formal title case in which words such
as “the,” “of,” “and,” and “for” are not capitalized. (I see that
Textmate’s "Convert to Titlecase" command in the "Text" menu does
this correctly.)
I have made a mysql dump of the database, but I'm not sure how to
isolate the appropriate data for a text transformation. Here is how
each individual record is formatted in the database:
(91,'2008-08-03 05:20:57','author-username','2008-08-03
05:26:33','','UPPERCASE DATA','','','','','','','UPPERCASE-DATA','',
0,'Comment',0,4,1,1,'section-name','','lowercase-data','lowercase-
data','','','','','','','','','','','UPPERCASE DATA','','lowercase-
data','3p344629nn178n874sp2s222s0q3n072','2008-08-03')
The mysql dump also contains uppercase terms such as "DROP TABLE IF
EXISTS" and lowercase terms like "datetime" and "varchar" that I
_don't_ want changed. Is there a simple way to target just the
UPPERCASE DATA fields enclosed in single quotes for a massive "Covert
to Titlecase"?
I welcome advise from regular expression fu-masters and Textmate adepts!
Thanks in advance!
John Stephens
> Please, lets not start this again.
> Be happy with what you have, and dream of TM2 at night,
> but for the love of god, stop complaining in the mean time.
I think it's fair enough to ask. TextMate 2 has been talked about for
what, 1.5 -2 years now? There's rarely an update as to the progress
either, which is what I think is the main reason people ask "so
where's TextMate 2.0 at?" It's a closed-source commercial product
(which, for the record, is okee dokee by me) so, in my opinion, there
is more responsibility in communicating with your customers. Nobody
can just hop in and adopt the open-source "don't like it, then fix it"
approach. Why are people so defensive about talking about it? Perhaps
I missed a TextMate 2.0 mega-flame battle prior to subscribing to this
list.
Clearly TextMate is great. Clearly TextMate is an impressive version
1.x generation product. However, if you really think that TextMate is
so complete then I question if you have used any other text editor or
IDE or if you are just a fanboy. Basic features like split panes
windows and a decent undo system are missing. Because those features
are so basic it means their absence is felt nearly every time I use
TextMate. I won't get into what features from what editors are missing/
would be nice but I list those two only to underscore the point that
TextMate, while great, still has, at the very least, some basic
functionality missing. Basic functionality that will, we assume, be
addressed with TextMate 2.0. There isn't a day the goes by that I
don't lament the lack of a split pane window. Please note that this
does not imply I don't think TextMate doesn't have many great things
about it that other editors are missing. TextMate rocks.
Therefore, after a long, silent wait since its announcement and the
fact that there are still some glaring holes with the current release
I think it's fair to ask, "so where's 2.0 at?" It's not a complaint,
it's just a question and a reasonable one at that.
I was checking on the synctex issue brought up yesterday and while looking at the MacTex wiki (for "TeX on a Mac") there is no mention of TextMate as a TeX editor or "frontend", which is rather surprising since I've used all of the editors and front ends mentioned and found TextMate's approach preferable.
I've not the time right now, but perhaps some enterprising soul from this list might wish to rectify the situation:
http://mactex-wiki.tug.org/wiki/index.php?title=Main_Page
Sincerely
--
David F. Snyder, Ph. D.
Department of Mathematics
Texas State University
601 University Drive
San Marcos, TX 78666
Human history becomes more and more a race between education and catastrophe.
H. G. Wells (1866 - 1946), Outline of History (1920)
Can anyone tell me how to fix this error: /tmp/temp_textmate.KNOfLq: line
6: : command not found
I tried a complete re-install of TextMate with no improvement. This is on a
15" MacBook Pro with current Leopard.
--
Tim
----------------------------------------------------------------------
Hi all,
When entering commit comments using the subversion bundle, you can submit the
dialog box by hitting the Enter key w/o having to grab the mouse and hit the
Commit button with the cursor.
I was wondering if I could change which key invokes the "Commit" command in
the dialog box. Since the Enter key is a multi-step dance on my keyboard, I
was hoping to be able to switch it from Enter to "Shift-Return", or something
similar.
Anyone know if that's possible?
Thanks,
-steve
ps. Sorry for the bad subject line, can't think of any handy one-liner to
summarize my question.