Hello -
When doing a "Find" within a file, the found item(s) is highlighted
but there is not really enough contrast to make it quickly noticeable.
I find my myself having to scour over the document to locate where the
highlighted word or phrase is. Is there a way to change this, so that
when doing a "Find" the found item(s) shows up in yellow (or some
other bright color)? I am using the Mac Classic theme... I did not see
anything within the preferences for that. Thanks!
- Jorma
I recently switched to Mac from Windows.... I have specific
keybindings that I want to use. Specifically, I want cmd-y to delete
a line, cmd-d to duplicate a line, and shift tab to reverse indent
selected lines.
In most apps I've been able to get cmd-y and cmd-d to work by adding
this to the
~/Library/KeyBindings/DefaultKeyBinding.dict file
"@y" = ("selectLine:", "delete:");
"@d" = ("selectLine:", "copy:");
I don't know how to do the reverse indent.
These keystrokes work for most applications, but not for TextMate. I
have also tried this file: ~/Library/Application
Support/TextMate/DefaultKeyBinding.dict
Could someone point me in the right direction?
thanks
phil
Hi all,
Just bouncing this idea…
I would like to be able to active a directory withtin the project to
be the TM_PROJECT_DIRECTORY until deactivated or another directory
activated.
Use case: With maven it's common to have a master project with lots of
modules, sometimes you want to target a command to a particular sub
module, not the master module which is the TM project.
You could argue that the commands should be smart about using the
project drawer selection, but IMO this can be confusing when dealing
with multiple selections.
Thoughts?
LD.
I have to manipulate some PDF files directly so I was looking for a TextMate
Bundle for PDF/FDF files.
They have a pretty weird syntax, so I'm not sure which bundle might be
useful as a starting point. I have the PDF reference (1,310 pages of
excruciating detail) but I'm looking for something simple to at least make
some logical sense from this 'non-human-readable' language :)
Any pointers to a similar or even a partial bundle would be appreciated.
Thanks
Darryl Zurn
Sample PDF internal syntax (PDF 1.7 Reference, page 1059):
%PDF−1. 4
1 0 obj
<< /Type /Catalog
/Outlines 2 0 R
/Pages 3 0 R
>>
endobj
2 0 obj
<< /Type Outlines
/Count 0
>>
endobj
3 0 obj
<< /Type /Pages
/Kids [ 4 0 R ]
/Count 1
>>
endobj
4 0 obj
<< /Type /Page
/Parent 3 0 R
/MediaBox [ 0 0 612 792 ]
/Contents 5 0 R
/Resources << /ProcSet 6 0 R >>
>>
endobj
5 0 obj
<< /Length 35 >>
stream
% … Page-marking operators …
endstream
endobj
6 0 obj
[ /PDF ]
endobj
xref
0 7
0000000000 65535 f
0000000009 00000 n
0000000074 00000 n
0000000120 00000 n
0000000179 00000 n
0000000300 00000 n
0000000384 00000 n
trailer
<< /Size 7
/Root 1 0 R
>>
startxref
408
%%EOF
--
View this message in context: http://www.nabble.com/Bundle-or-Language-Grammar-for-raw-PDF-syntax--tp1698…
Sent from the textmate users mailing list archive at Nabble.com.
Hi there,
sorry for getting offtopic, but I seek advise from all the Pros in here: I
am looking for a good JavaScript-Forum.
English language is very OK, Id be happy to find a german one.
More important is, that the board should be alive and its users are
advanced and encouraged.
The project Im working on is about basic AJAX and some JQuery.
Thanks in advance!
Dennis
When browsing documentation in a HTML preview window the hyperlinks
work as expected but I cannot find anything like the forwards/
backwards keys in a Web browser to retrace the path through the
hyperlinks. Do such keys exist?
Thanks,
Dave.
It's probably right in front of my face, but I've done a couple
searches, looked in the book and in the manual, and I can't find it...
Is there a bundle that provides the ability to open a URL that's part
of a plain text file (in a browser)?
--
Daryl
Allan,
I know, I know, 2.0 will be ready when it's ready. But can't you tease
us just a little? For example, let's say you have a todo list for 2.0
and you're working your way through it checking off items. Can you
tell us what percentage of that list is complete? It wouldn't really
give us any idea at all when the thing will be out, since that last
10% can take 90% of the time to develop and we don't really know when
you started on 2.0 anyway, nor what percentage of your time is devoted
to 2.0. But it would be a nice teaser.
(Not that there's anything wrong with 1.5.7...)
Fanning the vaporware flames,
j.
:-)
In another thread Allan Odgaard wrote:
> TextMate will not search binary files, granted it knows that the file
> type is binary. So right-click a file (using the extension you want to
> exclude) in the project drawer and select to treat it as binary.
That helps, but isn't perfect. For one thing, it can't handle files
without an extension, such as executables. If I just open a directory
as a project, it's likely to be a mixed bag of source, object, and
executable files. It's easy enough to tell TextMate to skip the object
(*.o) files, but how do I tell it that the executable named "xyzzy" is
binary?
There's another quirk related to filename extensions that drives me
nuts. For various reasons, I have a lot of files with the extension
"*.txt" which actually contain different types of data. We have, for
instance, configuration files, SNMP MIB files, and plain ol' text files
sharing that extension. I'd like different syntax highlighting rules to
be used for each. So I open "foo.txt" and change the language to
"MIB". Then I open "bar.txt" and change to "plain text", and so on. It
seems that every time I open a file with the *.txt extension I have to
fiddle with the language.
(Yeah, if it were up to me I'd give all these files different
extensions. Unfortunately the naming conventions were established long
before I was hired here!)
Since the majority of *.txt files I edit actually are plain text, I
think it'd be great if I could tell TextMate explicitly, "Treat *.txt as
plain text unless I tell you specifically otherwise" instead of having
it automatically change the definition of the whole extension whenever I
switch. I'd still end up changing types, but at least it'd cut down on
how often I'd need to. Bonus points for remembering which full filenames
have been manually mapped to something else.
What would be even better would be for TextMate to examine the contents
of the file as well as the filename to determine what language it is.
If the extension is ambiguous, check the first few bytes for a shell
shebang line, or an emacs-style modeline, or some other clue as to the
type. And I would absolutely swoon if the language definition itself
contained a way to specify what to look for, letting TextMate try each
language in turn until it found a match.
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>