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:
parent
386726e1fc
commit
929eec3053
1 changed files with 2 additions and 1 deletions
|
@ -595,7 +595,8 @@ public class CAutoIndentStrategy extends DefaultIndentLineAutoEditStrategy {
|
||||||
return; // bail out
|
return; // bail out
|
||||||
|
|
||||||
insertLength= subtractIndent(correct, current, addition);
|
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;
|
isIndentDetected= true;
|
||||||
if (insertLength == 0) {
|
if (insertLength == 0) {
|
||||||
// no adjustment needed, bail out
|
// no adjustment needed, bail out
|
||||||
|
|
Loading…
Add table
Reference in a new issue