hello
I find in a post :
> I had been playing around with the language grammars and snippets,
> and started thinking that Allan probably has thought of some better
> way to edit the grammar.. I felt really stupid when I came across
> this blog that stated the obvious: while in bundle editor,
> naturally select Edit in TextMate.. - Voilá, the Language is set to
> 'Language Grammar' and colored nicely.
1) But If I select all the latex grammar I can't edit in textmate
do't work
but if I copy the text and textedit now I can edit the text with TM.
Now that we have a bundle development and language grammar snippets,
I suppose
that we make in a more elegant way. But how that' my question ?
2) I have an other problem we have show scope and copy scope but for
Show TM_*variables how to copy the result ?
regards Alain
Jacob Rus <jacobolus(a)gmail.com> wrote:
> DushanM wrote:
> > When reformatting a paragraph using ^Q, TextMate starts reformatting
> > from the beginning of the paragraph, puts just one space between
> > sentences, then leaves the cursor in that paragraph.
> >
> > Is there an option to specify two spaces between sentences?
> No. Make a macro which first reformats the paragraph, then selects it,
> and replaces ". " with ". ", etc.
Okay, thanks. Time for me to learn how to make macros in TextMate.
> > - reformat starting from the line containing the cursor
> > - when done with one paragraph, place cursor at start of the next one
>
> These can also be done with macros.
> > - when in a window for saving or opening a file, right below the name
> > is the folder being looked at; is it possible to arrange to have that
> > show the full path to the folder instead of just the folder name?
> > I sometimes have similarly-named folders in different places, and
> > seeing the full path would let me distinguish between them.
> I doubt it.
This saves me trying to change the unchangable.
Thanks for the tips.
- Dushan
Hello everyone,
Auto-completion of text is marvelous, but I have to decide each time
whether it is worth the trouble to reach all the way up to esc. For
me, this requires taking my left hand off the keyboard. I wanted to
remap caps lock to esc but have not been able to find this anywhere.
(Do any of you know how to do this?) I have worked out a little fix
that approximates this ideal.
1. Remap caps lock to ctrl via System Preference -> Keyboard & Mouse
-> Keyboard -> Modifier Keys.
2. In Quicksilver, make a trigger to activate Next Completion from
the TextMate Menu. (Current Application (tab) Show Menu Items
(enter) and type Next Completion). I use control-A for my trigger so
the hand motion is minimal. (Be sure to hit caps lock before A,
though!)
For this to work, be sure to turn on Proxy Objects under Quicksilver -
> Preferences -> Catalog, as well as Enable Advanced Features
under Preferences -> Application.
Now auto-complete to your heart's content!
Jenny
Department of Mathematics
University of California, Berkeley
I wrote a little script a while back to help with some of this. You
can grab the bundle at
http://homepage.mac.com/calfeld/SimpleWrap.tgz
It defines two commands:
WrapSelection wraps the selection. I bind it to ^Q for myself but I
left it unbound in the bundle.
WrapAtLine Cmd-Ctrl-Q. Wrap the paragraph around the current line.
Unlike the text mate wrapping it'll look for an initial prefix of
symbols and preserve it. This makes it wrap most comments properly.
I.e.,
# some sample comments
# that span multiple lines
Wraps to
# some sample comments that span multiple lines
I use it extensively in my own development and while it's not always
right it's more useful than the built in version.
It's not very advanced and, at this time, I have no intentions of
supporting it or adding features. But it might handle the first item
in your wish list or serve as a starting point for your own custom
wrapper.
c.
On Sep 18, 2007, at 3:05 AM, DushanM wrote:
> This is my third attempt to send these questions.
>
> When reformatting a paragraph using ^Q, TextMate starts reformatting
> from the beginning of the paragraph, puts just one space between
> sentences, then leaves the cursor in that paragraph.
>
> Is there an option to specify two spaces between sentences?
>
> Might as well mention two other items in my wish list:
>
> - reformat starting from the line containing the cursor
>
> - when done with one paragraph, place cursor at start of the next one
>
> Are any of these doable at present in TextMate?
>
>
> ... while I'm at it I'll repeat an even earlier question that I never
> saw show up:
>
> - when in a window for saving or opening a file, right below the name
> is the folder being looked at; is it possible to arrange to have
> that
> show the full path to the folder instead of just the folder name?
> I sometimes have similarly-named folders in different places, and
> seeing the full path would let me distinguish between them.
>
>
> Thanks.
>
> - Dushan
>
> ______________________________________________________________________
> 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
>
--
[PGP Key available at www.keyserver.net - http://homepage.mac.com/
calfeld]
This is my third attempt to send these questions.
When reformatting a paragraph using ^Q, TextMate starts reformatting
from the beginning of the paragraph, puts just one space between
sentences, then leaves the cursor in that paragraph.
Is there an option to specify two spaces between sentences?
Might as well mention two other items in my wish list:
- reformat starting from the line containing the cursor
- when done with one paragraph, place cursor at start of the next one
Are any of these doable at present in TextMate?
... while I'm at it I'll repeat an even earlier question that I never
saw show up:
- when in a window for saving or opening a file, right below the name
is the folder being looked at; is it possible to arrange to have that
show the full path to the folder instead of just the folder name?
I sometimes have similarly-named folders in different places, and
seeing the full path would let me distinguish between them.
Thanks.
- Dushan
hello
I work actually on a new bundle LaTeX_Author and I would like If
someone have an idea to code the control's structures below :
I think that's that's very common in a lot of languages :
% from package ifthen.sty
* \ifthenelse{test}{then clause}{else clause}
* \whiledo{test}{while clause}
% from package pgffor.sty
* \foreach \var in {list}{ }
\from TeX
* \@for\var:={list}\do{ }
I would like to have a color for the control words and for {}
Thanks
Regards Alain
PS : i've a problem to understand this line :
{ name = 'meta.space-after-command.latex';
match = '(?=\s)(?<=\\[\w@]|\\[\w@]{2}|\\[\w@]{3}|\\[\w@]{4}|\\[\w@]
{5}|\\[\w@]{6})\s';
Hello,
some months ago, I changed TextMate's Transmit Bundle to work with
YummyFTP (to be accurate: I duplicated the Transmit Bundle before
playing aroung with it).
"DockSend File" works fine with Yummy.
But when I select "Send File with Active Connnection", I get the
following error message:
37:41: syntax error: Expected ", " but found class name (-2741)
Using the original Transmit bundle, "Send File with Active
Connnection" _will_ trigger Transmit to upload the file, but my
modified version for Yummy does not work.
I only replaced 'Transmit' with 'Yummy FTP' in the bundle editor:
================================================
osascript -e "tell application \"Yummy FTP\"
(upload item \"$TM_FILEPATH\") in current session of first document
end tell"
================================================
So, what is going wrong?
Kind regards,
Tobias Jung
Just wondering, is there currently a way to get the md5 of the current
document (whether its changes have been saved or not) from within textmate?
I often have to compare a copy of a document I'm working on with what's on a
remote server, and since I can open it in TM from within my ftp client, it
would be potentially easier than downloading a copy to save somewhere on
disk and running the md5 command seperately.
Does something like this exist? If not, perhaps I'll look into implementing
it myself. Thanks!
--
View this message in context: http://www.nabble.com/MD5-of-current-file-tf4467307.html#a12737547
Sent from the textmate users mailing list archive at Nabble.com.
I'm not 100% certain that this is caused by the subversion bundle,
but I have not been able to pinpoint the exact cause, and it only
seems to be happening when I'm working through TextMate:
At some (undetermined) points, when I try to commit my project I get
this error:
svn: Commit failed (details follow):
svn: Your file or directory 'config.inc.php' is probably out-of-date
svn: The version resource does not correspond to the resource within
the transaction. Either the requested version resource is out of date
(needs to be updated), or the requested version resource is newer
than the transaction root (restart the commit).
(where config.inc.php is the first file that was modified in the list)
Now the problem is this: The resource is NOT out of date, and I'm the
only one with access to the repository. An update command says that I
have the latest revision checked out, and `svn info` verifies the
fact. Subsequent check-ins come back with the same error. The only
way I've been able to get around this is check out a new copy of the
repository, move the modified files over one by one, and check in
from there. And next time I need to check in, the same thing happens.
Is there an issue with the 'Find in Project' search and replace
feature that I should be aware of? (I use it a lot). Also I don't
have any modifications in the bundles, nor any related checked out
bundles.
Additionally, the 'diff' button from the subversion bundle status
list displays the correct diff, but there's no syntax highlighting.
When I use the diff bundle directly, or even through the subversion
menu, the highlighting works just fine.
Any ideas?
Constantinos