Hello, I am new here and new to textmate which I love. I am not a programmer,
and use textmate as an outliner and word processor. I know that text mate is
more geared towards coders, but it has the features I need and the level of
community support is unheard of for a word processor.
My primary use of textmate is with a nearly fully transparent background
coupled with fully opaque text (foreground) and fully opaque line
highlighting. This allows me to focus on my text while watching my soothing
desktop backgrounds behind my work, or looking at my research.
I was wondering if it was possible, and easy (for a non technical person
such as myself) to not only have line highlighting, but also have the
current paragraph highlighted as well. My hope is to be able to have yellow
text over solid red line highlight, and the rest of the paragraph
highlighted a slightly opaque green on blue for a sort of secondary post.
BTW, love the program, love that it has forums, love what it does for blog
markup.
1st post, I hope I haven't broken any rules. Thanks in advance for any help
that can be offered.
--
View this message in context: http://www.nabble.com/Highlight-line%2C-works%2C-Highlight-Paragraph--tp146…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I am using comments like
%
=
=
=
=
=
=
=
=
========================================================================
% Doing something...
%
=
=
=
=
=
=
=
=
========================================================================
(...)
%
=
=
=
=
=
=
=
=
========================================================================
% Doing another thing...
%
=
=
=
=
=
=
=
=
========================================================================
(...)
to structure the code inside my MATLAB files. For easier navigation I
would like to use these comments as folding markers and symbols (for
the "Go to symbol" command). I know that I have to play around with
the language grammar to do so, but alas my more than limited knowledge
of regular expressions has prevented me from succeeding. Maybe one of
the language grammar/regex experts here has a quick tip for me?
Thanks,
Carsten
Hi,
I have two bundles 'R' and 'R daemon'. R has the scope 'source.r' and
R daemon has the scope 'source.rd-console'.
In both bundles I have a macro which is bound to the key '(' which
actually do the same but using different ways. Fine.
If I am inside the R scope 'source.r' the correct macro is called
after pressing '('.
BUT if I am inside R daemon scope 'source.rd-console' the wrong macro
is called – meaning the macro of scope 'source.r' will be executed!
If I set the scope selector of the macro inside of the 'R' bundle to:
source.r -source.rd-console
then it works.
Well, to be honest, I don't see the point here why I have to exclude
a scope explicitly. Or is this a naming-of-scopes issue?
Thanks in advance,
--Hans
Hello,
I have modified my keyboard (Dvorak, if that matters) to produce the
following combinations:
Option + C -> č
Shift+Option+C -> Č
Option+S -> š
Shift+Option+S -> Š
(and some more).
This all works wonderful everywhere, except that Shift+Option+S in
TextMate results in something like
cat: /tmp/TextMate-ScratchSnippet.txt: No such file or directory
The same actually happens when pressing that combination on US layout
(except that probably not many TextMate users ever need to type "Í" on
it) and no other key is problematic, only S.
My question is: where to turn that non-working feature off
(Shift+Option+S), so that I will be able to use that key combination
to get my character?
Thanks a lot,
Mojca
Hi all,
Is it possible to give PHP a shortcut in the window which associates
files with a language? Not entirely sure of the technical name of it,
but if you follow the key sequence ctrl+shift+alt+p the list of
available languages are:
1) perl
2) plain text
3) property list
4) python
Any chance of getting PHP on the list?
Thanks!
/sf
Hello All:
I am currently using Ultra Edit on a PC at work and Textmate on my MacBook
for when I am not in the office.
I want to convert to using only my MacBook however, the one progg that is
holding me back is Ultra Edit. I want to be able to convert all my project
files over to TextMates project files.
Please tell me there is a way I can accomplish this,
All the best,
Paul
--
View this message in context: http://www.nabble.com/Want-to-go-all-Mac-but.....-tp15167242p15167242.html
Sent from the textmate users mailing list archive at Nabble.com.
Following positive to enthusiastic reviews, I downloaded TextMate
last week for evaluation. While it is based on powerful concepts and
there are some impressive features in there, I am overall rather
disappointed by its practical usability - many details just don't
work as they should. However, I may be overlooking something, so I'd
appreciate corrections by more experienced users.
My two main file types are Python and LaTeX source code. LaTeX
support is rather nice, once it is properly configured. But I had
expected a more reasonable folding: what I want to fold is sections,
subsections, etc. not begin-end blocks.
Python support is really disappointing. Folding is completely useless
(blocks end at the first blank line), tabs are not handled in a
reasonable way (using hard tabs with an indentation other than 8 is
an invitation for disaster in Python code), leading to indentation
errors, and the error output in PyMate is insufficient (I want the
full traceback).
I looked a bit at the language definitions, and I have the impression
that reasonable folding for LaTeX and Python cannot be implemented in
TextMate, as the beginning and end of a block must be defined by a
regular expression matching a single line. Or did I overlook something?
Konrad.
Is there a way to create a new project from a list of files, such that
the files are automatically grouped by directory?
My problem is that I have a fairly large project directory tree, which I
normally edit by typing "mate ." on the command line. That does exactly
what I want, except that it includes every file in the tree, not just
source files. Assuming it's not a clean directory to start with I get a
lot of binary files. I've set up filters to eliminate obvious
non-source extensions such as *.o, *.so, etc. but I can't filter out the
names without extensions (such as the names of compiled executables).
Also, some of the intermediate files have the same extensions as the
source files. For instance, the Pyrex compiler produces *.c files to
pass to the C compiler. I may have real source *.c files in with the
*.pyx files, and I don't want to see the intermediate *.c files in the
project listing. (More to the point, I don't want "Find in Project..."
to bother searching them!)
Since this is all in SVN I can easily get a list of true source files
via the 'svn ls -R' command. But how do I get that list into TextMate?
I've tried 'mate `svn ls -R`', and it *almost* does what I want.
Unfortunately the files aren't grouped by directory. Even more
unfortunately, since the svn command lists directories under its control
as well as files , I get two copies of each file in the project list:
One at the top-level as explicitly given, and one at a sub-level when
its containing directory is explicitly given. So a directory tree like:
top/
foo.c
bar.c
subdir/
baz.c
qux.c
...ends up giving me a project containing "foo.c, bar.c, baz.c, qux.c"
at the top level, along with a "subdir" grouping which contains "baz.c"
and "qux.c". I want the project groupings to exactly mirror the
directory structure.
Ideas? I can easily write a script to post-process the output of 'svn
ls -R', as long as I know what sort of list will make TextMate happy.
I'm trying to avoid having to output a full-blown XML *.tmproj file, but
I'm afraid that's what it's going to come down to.
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
Hi List,
I've encountered some issues with Ruby Regexp's and interpolation,
specifically Embedded code with #{}.
Ruby allows embedded code inside Regexp literals, but the Ruby Bundle
doesn't seem to recognise that fully. So I've changed the scope
selector for the “Embedded Code…” snippet to
(string.quoted.double.ruby|string.interpolated.ruby|
string.regexp.classic.ruby|string.regexp.mod-r.ruby) - string source
to make it behave like it should.
Unfortunately I don't know enough about TextMate Language Grammars to
correct the erroneous Syntax Highlighting (i assume in the
interpolated_ruby section.
Here's the current situation:
/#{code}/, %r{#{code}} - #{} gets correctly highlighted as
source.ruby.embedded.source
/[#{}]/ doesn't get highlighted (incorrectly)
There's also the /o option to regex which changes how #{} blocks are
interpolated, but that can probably be ignored.
Would be great if someone with more language-grammar-fu could correct
that.
—G