1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Temporary workaround for bug 181139 (Patch by Sergey Prigogin)

This commit is contained in:
Anton Leherbauer 2007-04-11 14:47:06 +00:00
parent 386726e1fc
commit 929eec3053

View file

@ -595,7 +595,8 @@ public class CAutoIndentStrategy extends DefaultIndentLineAutoEditStrategy {
return; // bail out
insertLength= subtractIndent(correct, current, addition);
if (l != first && temp.get(lineOffset, lineLength).trim().length() != 0) {
// workaround for bug 181139
if (/*l != first && */temp.get(lineOffset, lineLength).trim().length() != 0) {
isIndentDetected= true;
if (insertLength == 0) {
// no adjustment needed, bail out