Hello!
I have the following Latex code.
\begin{lstlisting}[language=PBN]
[Board "<Boardnummer>"]
\end{lstlisting}
The "< starts the scopes
punctuation.definition.string.begin.latex
string.quoted.double.guillemot.latex
The scopes are still active after the code.
Helge
With this function declaration TextMate will not show it in the
symbols list. Is there anyway of importing symbollists from external
commands instead of using regexps?
void client_clause_string(char *buf, int bufsiz,
struct Clause *pclause)
{
}
--
/Erik
Hi --
A quick request for help...
I thought there might be someone knowledgeable here about an error
that cropped up for me with the latest build (1372). I apologize in
advance is this isn't the sort of thing discussed here or if I should
bring this to another forum, but since it just happened NOW, minutes
after my update, I thought this might be the place.
Anyway, I'm using GTDalt and the context command (shift-@) gives this
error after the selection from the dialog:
/Users/mcg/Applications/Text/Textmate/TextMate.app/Contents/
SharedSupport/Support/lib/dialog.rb:138: warning: Insecure world
writable dir /Users/mcg/Documents, mode 040756
Any advice. Did I do something clueless when I grabbed the latest build?
-- Michael
I am having a problem with the GTDAlt date picker. The date inserted
does not correspond to the date entered. So entering 12/03/2007 gives
me 2007-03-11. And entering 31/05/2007 gives me 2007-05-29.
While on the topic of the date picker a small issue about the UI.
Dates are entered day month year. I think it should be year month day
for two reasons:
1. That way it is consistent with what is entered in the file.
2. The date picker defaults to the current date which is now
February. Helpfully it doesn't allow you to pick a day not in that
month. So to enter in 31/05/2007 I first had to tab ahead to change
the month before entering the day (since there are not 31 days in
February). The year month day format would avoid this problem.
Thanks.
All the best, Mark
_________________
Mark Eli Kalderon
Department of Philosophy
University College London
Gower Street
London WC1E 6BT
Departmental webpage: http://www.ucl.ac.uk/philosophy
Personal webpage: http://markelikalderon.com
Hello all,
I use the Pascal bundle quite a bit, and I've been annoyed that it can't tell the difference between declarations/prototypes of functions and definitions of functions.
I'll give you that this is tricky - in Pascal they both mostly look the same, and what they are is really determined by the next line (which would be a BEGIN if it was a definition)
FUNCTION aTest(varName: theType);
However, there is two cases where such a difference can be seen easily: the forward keyword and the external keyword
FUNCTION aTest(varName: theType); FORWARD;
{a prototype of a function found later in the file}
FUNCTION aTest(varName: theType); EXTERNAL;
{EXTERNAL is just like C's extern keyword}
And, in GPC (the Gnu Pascal Compiler) there's also:
FUNCTION aTest(varName: theType); attribute (name = 'aTest');
{You could see this kinda like declaring a prototype in C -
functions above this in the file OR outside the file
can call this function
}
Can we make the Pascal bundle use the following regular expression in the meta.function.prototype.pascal scope (so then we can use a preference to turn off their appearance in the symbol list?
\b(?i:(function|procedure))\b\s+(\w+(\.\w+)?)(\(.+?\)); (attribute|forward|external)
Or other thoughts etc would be appreciated - this could be an inefficient way of doing this.
Thanks In Advance,
_Ryan Wilcox
--
Wilcox Development Solutions: <http://www.wilcoxd.com>
Toolsmiths for the Internet Age PGP: 0x2F4E9C31
Hi All,
I just got the latest build, Version 1.5.5 (1372), and I noticed that
the python language syntax is now somewhat broken for comment
characters (#) inside regular expression strings r'some regular
expression'.
like:
some_reg_string = r'#'
shows up as illegal / incomplete syntax.
And e.g. all my code following this line:
parentPattern = re.compile(r'^#extends (\w+)\s*$')
becomes:
source.python
meta.function-call.python
meta.function-call.arguments.python
which is a little confusing.
best,
dirk
-----------------------------
Dirk van Oosterbosch
de Wittenstraat 225
1052 AT Amsterdam
the Netherlands
http://labs.ixopusada.com
-----------------------------
This morning I got the notice to update to a new cutting edge build.
Now when I try to use the svn status command I get the following error:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
web_preview.rb:70:in `html_head': undefined method `+' for
nil:NilClass (NoMethodError) from /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/web_preview.rb:117:in `html_header' from
(erb):29
svn update gives this error:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
web_preview.rb:70:in `html_head': undefined method `+' for
nil:NilClass (NoMethodError) from /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/web_preview.rb:117:in `html_header' from
(erb):29 -:13:in `write': Broken pipe (Errno::EPIPE) from -:13:in
`puts' from -:13 from -:13:in `each_line' from -:13
svn info:
NoMethodError
reason: undefined method `+' for nil:NilClass
trace:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
web_preview.rb:70:in `html_head'
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/format_info.rb:43
I didn't have any reason to test other commands.
Previously I never had any errors. Is there some new setting to get
svn status working again? Or some old setting I might have that would
be throwing it off?
In the advanced prefs I have TM_SVN set to /usr/local/bin/svn and
that's the only svn related change I have made to TextMate.
thanks,
john
Hello,
We have recently moved to an authenticated only proxy..
and when I open TextMate it gives me an error:
Error NSURLLErrorDomain -1012
I've tried to enter the user/pass in SystemPrefs and it doesn't work..
any idea how I could get updates again?
Thanks
hi there,
I see in the change list that
[NEW] Perl bundle: PerlMate will now request for user input when
reading from <STDIN> (Ciarán Walsh)
This seems very handy: Does anyone have an example of a command which
does this? If it is not perl specific, are there examples of syntax
for other languages, like cmd line php?
cheers,
t
If I write the following snippet:
${3:x}${1:$TM_SELECTED_TEXT}$3$2
activate it, then press tab twice so the first 'x' is selected, I would
expect what I type to be mirrored in the other 'x' too. Why isn't it?
Similarly,
${1:x}${2:y}$1$2
doesn't do what I'd expect: the 'x' is mirrored, but the 'y' is not.
What am I missing?
Thanks,
Robin