TextMate 1 or 2, is there a way to auto-highlight all occurrences of
I was from Windows using EditPlus, when I double-click or Ctrl+W to select
a word, EditPlus is able to automatically highlight all occurrences in a
different background colour, very nice and useful feature.
With TextMate I have to additionally hit Opt+Cmd+F, and highlighting colour
is same as selected word, not eye-catching. I use 'soft' and light
background for selection background but I prefer bright background (eg
yellow) for highlighted words.
Ctr-S not really meets what I need.
Sent from my mobile. Ignore the typos unless they're funny.
I've used Whitesmith bracing style for *decades*, and had it kinda-sorta working in TM 1.5.x, though not perfectly. Now I've lost those old settings and for the life of me can't figure out how to get it even close in 2.0. There's clearly something fundamental that I'm missing, but I've spent hours on this off and on over the past few months, and I'm guessing that someone who really understands the rules (and regex) better than I, could get me on the right path in short order. I'd definitely appreciate it.
For those (unfortunate souls) who are not familiar with Whitesmith:
Also, just as a general suggestion, it seems like it would be really helpful to have just a handful of "packaged" example indentation rules for the small handful of common bracing styles, i.e. Allman, K&R, Whitesmith, maybe Gnu. Of course it wouldn't be perfect for everyone, but it could be really helpful as a starting point. If you know of such a set of examples, please point me to them (yes, I've looked). Thanks!
I'm trying to develop a bundle for communicating with a TCP server, and
would like to create 1) a bundle command that opens the connection, and 2)
other commands that use that connection object (eg via grabbing text
selection in the editor window).
In Python, I've created a bundle command like this:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
HOST = "127.0.0.1"
PORT = 7098
That sets up the socket correctly, in fact you can send messages to the TCP
However each time I send a command, the socket is obviously re-created; I
wondered if I TextMate provides a mechanism to save the 'sock' binding in
the current environment - so that I can reuse it later within other
Hope this makes sense - thanks in advance for any help.
I have a feature suggestion. I've thought about this for years but it has only just occurred to me to say something about it.
As you know, I use TextMate to write books. Big books with big chapters. So it often happens that I edit a chapter, then jump to an earlier / later bit of that same chapter to make some change entailed by what I was just writing. Now I want to "go back" to where I was before.
That's the suggestion. TextMate should _automatically_ maintain "bookmarks" for the location of the two most recent edit locations (places where I actually typed or deleted text). Thus, I could use the bookmarks feature to jump back to where I was before.
Just an idea. (A really great idea!) m.
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
In my master .tex file, the command LaTeX > Insert > Citation Based on
Current Word works fine.
However if I try to run the same command in the child files, I get a
dialogue box with the error message "Failure running ³Citation Based on
Current Selection². plus a long list of paths.
This is what I have set in Preferences > Variables:
Anyone know what the problem is?
I am slowly migrating from 1.5, and one thing that I really liked about the former was that if you double-clicked a symbol :foo or instance variable @bar, your selection cursor only grabbed the name, not the metacharacter preceding it. This made it really easy to change the content without altering the shell. Several times lately I have been caught out by this difference in TM2 — there, a double-clck selection grabs the entire thing. Muscle memory is foiled.
Is there a place in the Ruby bundle syntax that controls this behavior?
I love TextMate2 because of its multi-lingual capability. It is
awesome (it is better than Sublime, IMHO), but there is a chronic
problem regarding soft-wrap.
When I have multi-byte (CJK) characters and regular single-byte ones
in the same line, soft-wrap does not work very nicely. Please see the
When the line consists only of characters of the same type, multi-byte
or single-byte, soft-wrap works just fine. When they are mixed,
however, the right-hand side of wrapped text looks quite bad.
Is there a quick way to avoid this? Or is this something that needs an
application level fix?
I suspect TM2 treats a sequence of multi-byte characters as if it was
a single word. If that is the case, with text in a language like
Japanese, where word boundaries are not indicated by spaces, a whole
sentence or even a paragraph will be processed as just one huge word.
I've a tiny question. One month ago I've fixed tiny issues for R.tmbunlde which lives at https://github.com/textmate/r.tmbundle .
If I uninstall and reinstall the bundle via Preferences > Bundles, TM installs only an old version (last commit one year ago) of this bundle.
Did I miss something?