[TxMt] Bug with comments and indentation in C++
Chris Jefferson
chris at bubblescope.net
Wed Feb 13 17:19:54 UTC 2008
A 'pattern' I use frequently seems to be confusing textmate's
indentation of C++ code.
The problem comes from writing things like:
{ // Comment
If you simply write into textmate, you get something like:
{
{ // Comment
foo();
}
}
If I try to select and indent the code, I end up with:
{
{ // Comment
foo();
}
}
Now the problem is the other way!
I tried looking at the how the indentation works, but it was some way
beyond me I'm afraid. Any suggestions?
Chris
More information about the textmate
mailing list