All -
I need to write (at least parts of) bundles for "stx2any" source text
and Eiffel source code. Now I was wondering if there's a standard, or
de facto agreed upon, list/definition of the scope terms, such as
"support.function.section.latex" or "keyword.control.c", including
how to define extensions to these for new languages. And related to
this, how are the "setting groups" and "settings items" in the theme
editor defined and organized: is there an agreed upon scheme?
Thanks for any help and hint.
With regards
- Stefan
--
Stefan Brantschen
sbr(a)acm.org
Who wrote the actionscript bundle? I have some ideas :)
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
For short columnar edits, it's not really perceptible, but if you
make columnar selection of a mere 1500 lines or so, you'd notice a
very noticeable lag. Now some of this could easily be that I do
almost all of my work on a G4 500 powerbook. But it's still VERY slow.
Now, more seriously, I know that my selection length was rather
extreme. But it took about 5 minutes or more for TextMate to catch
up when I had typed in the 4 characters I'd wanted to replace
('None' It was python).
--
Robert M. Zigweid http://robert.zigweid.net
rzigweid(a)zigweid.net
I can't find any docs that tell me know to do the cool stuff shown on
the TextMate website. Like I want to edit a block of text and make a
change on the first line repeat in the following lines. How do I do
this?
How do I select text by column?
Why isn't this info easier to find?
Also, the app seems to be autosaving. Is there a way to turn this
off (I'm on a slow link).
Thanks,
Ernest
I Downloaded b12 and was playing around when I noticed something that
I thought had been 'fixed' earlier and appears to not be working now.
I have not used TM for a little while so perhaps what I am trying to
do has been slightly changed or I was imagining things:
Problem:
Drag an image file from the drawer into the html file and have the
tag, width and height added automaticlly. Ideally the behavior would
also put in an alt and have the cursor default to that location as
well as a closing / if it is xhtml.
Solutions ?
Thanks,
Eric Curtis
Are they working yet? And is there any documentation? Examples would be
nifty.
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Is it possible to match multiple lines in a single match? For
instance, to match:
A heading
========
I tried:
^(.+?)\\n={3,}$
but it doesn't seem to work. Any guesses why? I hope I have just made
a silly mistake somewhere.
Haris
Hi, I'm modifying the default actionscript bundle and I have a regex
question that I haven't been able to figure out.
I want to match a function declaration, but I don't want to capture
the arguments of the function. In other words, in a function like this:
public function addItem(name: String, item: MenuItem): Void {
// ...
}
I want to color
"addItem(" and ")"
but not
"name: String, item: MenuItem
Is this possible in one regex expression? Is there some way to match
something by looking for a leading (or trailing) indicator without
including the indicator in the match? In other words... something like:
[in pseudocode] find ")" preceded by "function [a-zA-Z_]* ( ^)"
I'm currently using this regex to successfully capture the whole thing:
match = "\\b(function)\\s+([a-zA-Z_]\\w*)\\s*\\([^\\)]*\\)";
Thanks for the help!
Ed
Hello! Who is the maintainer of the bundle for Markdown? Looks like
he is missing from the README in svn.
I noticed the regexp for emphasis
match = "[*]([^\\\\*]|\\\\.)*?[*]";
causes the engine to beautify the bulleted list
* normal *emph*.
with " normal " in italics instead of "emph". Do those TM regexps
support some sort of precedence? Do they supoprt look-behind assertions?
In addition, the regexp for itemized lists looks too weak:
begin = "^\\s*[*+-]";
According to the current spec it would be something like:
begin = "^ {0,3}[*+-][ \\t]";
-- fxn
I noticed the following while playing with the markdown bundle. Seems
to me like a bug when changing a language that is included in the
current language for a document.
1) Open an empty document, write some stuff (including some inline
markdown like emphasis) and select markdown as a language.
2) Make changes to the inline markdown language, press format and
test. They are not reflected in the text.
3) Opening a new file, copying the text over, and making the language
in the new file markdown reflects the changes. The original file
still does not show any difference.
4) Changing the language of the original file to LaTeX, and then back
to markdown doesn't fix it either.
5) Changing the language of the original file to Inline markdown, and
then back to markdown still leaves it bad.
Haris