Hi Folks,
I've just started using TextMate and I'm very very impressed. I've
noticed the following behaviour and I wonder if anybody could let me
know if this is a "feature" or a bug.
I make a column selection and I replace "foo" with "foobar". This
increases the width of the column selection. Here is the problem --
any continuous text that passed through the column will now be broken
and expanded with spaces. This is not what I would expect and it will
seriously limit my use of find/replace in column selections.
Is this a bug? Or is it an operator error?
Thanks,
Leo
Hi,
Thanks for the tips, all. I got it working fine when I
understood where these damn commands should be put. I
got a bit lost between macros, commands, execute line,
plugins, bundles,... as a start ;)
anyway, it works now, thanks!
PS: is there any RSS feed for this list, or a good way
to follow it? (my yahoo! webmail doesn't like the
encoding of the message for some reason, it's very
annoying)
> Commands:
> http://macromates.com/textmate/manual/commands
>
> Feel free to ask follow-up questions, I donât know
> exactly what
> Octave produces, or which arguments it takes, but
> making the command
> be: âoctave -fâ and input âEntire Documentâ
> with output
> being⦠uhm⦠show tool tip, maybe? sounds like it
> should get you
> started.
>
> As for path to Octave, see:
> http://macromates.com/textmate/manual/
> shell_commands#search_path
>
>
>
> > De: Allan Odgaard <throw-away-1(a)macromates.com>
> À: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 12 Nov 2006 16:33:36 +0100
> Objet: Re: [TxMt] run Octave code
>
> On 12. Nov 2006, at 15:59, baptiste auguie wrote:
>
> > Example:
> >
> > #! /sw/bin/octave -f
> >
> > load("datafile.dat");
> >
> > ...
> >
> > displays an error,
> >
> > error: load: unable to open input file
> `datafile.dat'.
>
> Itâs a relative path, so it must be, that the
> current working
> directory of your command is not the one which
> contains datafile.dat.
>
> If you do a real command (as suggested in the other
> letter) then the
> current working directory should always be that of
> the current file.
> For âR executions it is not the case.
>
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
> You should have a look at the Help file within the
> LaTeX bundle,
> there's a number of different autocompletion
> commands in the LaTeX
> bundle. For the particular case you quoted, i.e.
> creating new
> environments, you would create it by first typing
> abstract and then
> pressing cmd-{ (cmd-shift-[ in US keyboards). (This
> is the command
> named "Insert Environment based on current word".
> You can also try to
> press cmd-{ before typing anything and see the
> options you get. If
> you want to autocomplete plain commands, then typing
> \ and the first
> couple of letters, and then pressing esc should do
> exactly what you
> want.
>
> Finally, you might want to have a look at the
> screencasts if you
> haven't seen them yet:
>
http://skiadas.dcostanet.net/afterthought/list-of-my-textmate-pages/
>
> Haris
Thanks, I had a closer look at these, and they
probably are efficient ways to provide autocompletion.
I sort of prefer a list that follows my typing than a
keyword though (I think it's a bad habit to type
"document" and then let TM wrap it in a \begin{}\end{}
environment. If you ever have to switch to another
editor for some reason, it's gonna be a pain.) Have
you had a chance to try Kile? I found its
autocompletion a dream.
I quite like the "ESC" way, though this key is quite
far on my keyboard. Is there a way to change the
mapping for the "TAB" which i never use for instance?
thanks again,
baptiste
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
Hello,
I've run successfully some Octave code with Textmate,
using the following syntax,
#! /sw/bin/octave -f
my code here
i just select the whole text, and run "Execute line
inserting result". It used to work well, but for some
reason it now displays an error message when I try to
use some data files in the Octave code.
Example:
#! /sw/bin/octave -f
load("datafile.dat");
...
displays an error,
error: load: unable to open input file `datafile.dat'.
Running the same script in the Terminal works fine, so
the problem is really when running the script in
Octave. A simpler self containing script works fine
(not loading a file).
It's probably something to do with path directory, but
I don't know why it used to work and doesn't anymore
(possibly some update of TM in the meantime, and I
also registered and added a few bundles).
Any tips?
thanks,
baptiste
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
Hi,
I've just purchased TextMate, and I have a few
questions:
1 - when editing LaTeX code, I'd love to get a similar
autocompletion feature as Kile for Linux (when you
type \be, you get a list of possiblities that follows
your typing (\begin{abstract},...)). It's *very*
convenient and clever: it gives you the latex commands
as well as words already present in the document, and
narrows the list according to your typing.
I found some posts about a latex autocompletion
bundle/macro for TM, but I can't have it to work (I'm
not sure what it does exactly anyway!). I get a huge
list, from which I can't seem to choose before it
disappears and leaves me with a blank document !
2 - Is it possible to always have tab editing
available, not only in projects? Or is there a way to
open TextMate with an empty project by default (where
you just drag and drop the files you want to use)?
3 - I run some Octave scripts from TextMate, using the
Matlab mode, but I have to put something like #!
/sw/bin/octave -f and run the script using the shell
command with all the text selected. How can I add this
compilation feature to the Matlab bundle (giving the
path to Octave, and not having to select the text
before running it)?
Thanks,
best regards,
baptiste
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
I'd like to know if I'm the only one having problem with "Go to
project". When I choose it, I get a list of my projects, but choosing
any one of them does not do anything.
Thanks,
Alan
--
Alan Schmitt <http://alan.petitepomme.net/>
The hacker: someone who figured things out and made something cool
happen.
.O.
..O
OOO
Howdy.
There is a new syntax grammar in the Experimental bundle.
It scopes a bunch of things that I think the main Ruby syntax should
be scoping.
Since so many people use Ruby, I don't want to make any major changes
to it without getting some serious feedback.
It could be that some of this stuff should be kept separate in a
wrapper grammar for ruby, i don't know.
If you are interested in Ruby and the Ruby parsing and coloring that
TextMate does, please check out this new language and give us all
your feedback.
Also, I updated the Brilliance Black theme (in the official textmate
svn repo) to support all this new stuff.
If you're checking out the new stuff, this theme will show it in all
it's glory.
Enjoy
thomas Aylott — design42 — subtleGradient — CrazyEgg
Ahoy textmateys!
Avast ye white i-beam mouse cursor!
The current one is just pure white and totally disappears when it
hovers over something white (which happens often)
So I made a new one with a bit of a shadow.
It's included in the TextMate UNO nib theme
http://textmate.svn.subtlegradient.com/Hacked%20Nibs!/TextMate%20UNO.zip
Allan, can we just update the actual app for this one?
thomas Aylott — design42 — subtleGradient — CrazyEgg
I had my first go at creating a template last night. It was fairly
miserable. Even just using what TextMate creates automatically
resulted in a "dead" template that does nothing upon hitting test or
the assigned key combination. I copied an existing template and made
modifications to no avail. Is there a tutorial that goes beyond the
docs or is there something I'm missing?
Thanks,
Brett
Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
877.858.4332
f: 1.866.540.3063
e: brett(a)circlesixdesign.com
http://www.circlesixdesign.com
..................................................
James Edward Gray II wrote:
> I literally miss one feature of BBEdit: multi-file search...
> However, I see no point in complaining about this since I can add a
> bundle for it at any time.
Oh, I so wish you would do that, James; is now "any time"? ;)
Seriously tho, lately I've been using grep to do multifile searches
since it's too much effort within TextMate, and it's not worth firing
up BBEdit for. I usually have one or two files open rather than a
project, and usually my multi-file searches are within a folder
associated with another project completely. I only need to do this a
couple times a week so it's not too annoying, but it would be nice if
I could search a given directory like BBEdit.
Things keeping me from loving TextMate even more than I already do:
- better multifile searches
- side-by-side diff (love BBEdit!)
- better handling of very large files
- split views
- chunked undo
And to be fair, just a few of the things I love about TextMate:
- editing is fun
- amazing syntax hilighting for all the languages I work with and
many more as well
- snippets
- it's really smart
- incredible support (see thanks below)
- bundles beyond count
- creating my own snippets, commands and macros EASILY!
- it's constantly being updated (program and snippets both)
- the screencasts
Many thanks to Allan and the many people creating and maintaining
bundles, you really have created the best text editor out there (IMHO).
- Dave Winzler