hi
There seems to be a syntax coloring/language definition bug in TM that leads to an unexpected quit (not a real "crash" as I don't get an OS X crash report). I've attached a LaTeX document that leads to this (with current bundles). Can anyone reproduce this behavior?
Confirmed!
On 11 Jun 2005, at 21:39, Frank Schönmann wrote:
hi
There seems to be a syntax coloring/language definition bug in TM that leads to an unexpected quit (not a real "crash" as I don't get an OS X crash report). I've attached a LaTeX document that leads to this (with current bundles). Can anyone reproduce this behavior?
-- bye, Frank!
<test.tex>
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 11.06.2005, at 22:39, Frank Schönmann wrote:
hi
There seems to be a syntax coloring/language definition bug in TM that leads to an unexpected quit (not a real "crash" as I don't get an OS X crash report). I've attached a LaTeX document that leads to this (with current bundles). Can anyone reproduce this behavior?
an ercept from the irc channel
[14:28] Soryu Tm crashes [14:29] Soryu repeatedly [14:29] Soryu with a 56k LaTeX file [14:29] allan does it crash (i.e. produce a crash log) or just exit? [14:30] Soryu no crash log [14:30] allan if it's the latter, then it's most likely because Harris changed the language def. to be recursive [14:30] Soryu that means? [14:30] allan okay, I'll remove his stuff from the syntax, 2 secs [14:30] Soryu well, I can remove it local here [14:31] allan okay, this line: patterns = ( { include = "text.latex"; } ); [14:31] allan most go [14:31] allan must [14:31] allan basically he added recursion to the syntax _before_ I've made the stack to handle this dynamic :/ [14:31] Soryu hehe, he wants you to catch up [14:33] allan actually, you probably want to remove the entire rule, since you'd otherwise lose syntax coloring in \begin...\end blocks [14:34] Soryu I still try to figure out in which file... [14:34] allan it's almost halfway down [14:34] allan starts with this: [14:34] allan { name = "declaration.environment.latex"; [14:34] allan comment = "As it is, this captures all begin- end blocks that are not egin{document}-end{document} blocks. It will further allow any text.latex pattern in the block to be matched.";
On 11 Jun 2005, at 21:39, Frank Schönmann wrote:
There seems to be a syntax coloring/language definition bug in TM that leads to an unexpected quit (not a real "crash" as I don't get an OS X crash report). I've attached a LaTeX document that leads to this (with current bundles). Can anyone reproduce this behavior?
I know you're using the latest bundles, but it works okay on my 1.1b5, if that helps anyone :)
*time passes* Now I've just upgraded to 1.12 and it still loads your Tex file okay although the colors are kinda naff :)
Pete
On 11/06/2005, at 23.19, Peter Cooper wrote:
I know you're using the latest bundles, but it works okay on my 1.1b5, if that helps anyone :)
Trust me, it doesn't ;-). As far as bundles go, almost everything has changed since 1.1b5.
*time passes* Now I've just upgraded to 1.12 and it still loads your Tex file okay although the colors are kinda naff :)
Cause b12 doesn't ship with a lot of bundles, including probably the one relevant to this :-).
-- Sune.
This is due to some changes I've made, to get some more interesting coloring going. Unfortunately, it will crash for nested begin-end blocks, which is a big problem I guess. My apologies to everyone. I will have it repaired within the next hour hopefully, at the cost of the coloring (i.e. begin-end block environments will not have their own scope, at least for a little while). On Jun 11, 2005, at 4:28 PM, Sune Foldager wrote:
On 11/06/2005, at 23.19, Peter Cooper wrote:
I know you're using the latest bundles, but it works okay on my 1.1b5, if that helps anyone :)
Trust me, it doesn't ;-). As far as bundles go, almost everything has changed since 1.1b5.
*time passes* Now I've just upgraded to 1.12 and it still loads your Tex file okay although the colors are kinda naff :)
Cause b12 doesn't ship with a lot of bundles, including probably the one relevant to this :-).
-- Sune.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Haris
I just committed a fix. There are three scopes related to the begin-end environments right now:
declaration.begin-document.latex and declaration.end-document.latex match the \begin{document} and \end{document} parts respectively.
declaration.begin-list.latex and declaration.end-list.latex match \begin{env} and \end{env} respectively, where env is one of (itemize,enumerate,description,list).
declaration.begin.latex and declaration.end.latex match all other begin-end parts.
Unfortunately at this point there is no easy way to determine a scope for the part in-between the \begin,\end's. It will be possible at some point in the not too distant future though.
On Jun 11, 2005, at 5:34 PM, Charilaos Skiadas wrote:
This is due to some changes I've made, to get some more interesting coloring going. Unfortunately, it will crash for nested begin-end blocks, which is a big problem I guess. My apologies to everyone. I will have it repaired within the next hour hopefully, at the cost of the coloring (i.e. begin-end block environments will not have their own scope, at least for a little while). On Jun 11, 2005, at 4:28 PM, Sune Foldager wrote:
On 11/06/2005, at 23.19, Peter Cooper wrote:
I know you're using the latest bundles, but it works okay on my 1.1b5, if that helps anyone :)
Trust me, it doesn't ;-). As far as bundles go, almost everything has changed since 1.1b5.
*time passes* Now I've just upgraded to 1.12 and it still loads your Tex file okay although the colors are kinda naff :)
Cause b12 doesn't ship with a lot of bundles, including probably the one relevant to this :-).
-- Sune.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Haris ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Haris