mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Comment adjustment.
This commit is contained in:
parent
9a3e8b0073
commit
cf077ca4a0
1 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ public class Scribe {
|
||||||
|
|
||||||
public Token currentToken;
|
public Token currentToken;
|
||||||
|
|
||||||
// edits management
|
// Edits management
|
||||||
private OptimizedReplaceEdit[] edits;
|
private OptimizedReplaceEdit[] edits;
|
||||||
public int editsIndex;
|
public int editsIndex;
|
||||||
|
|
||||||
|
@ -1578,7 +1578,7 @@ public class Scribe {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (lastNumberOfNewLines >= 1) {
|
if (lastNumberOfNewLines >= 1) {
|
||||||
// ensure that the scribe is at the beginning of a new line
|
// Ensure that the scribe is at the beginning of a new line
|
||||||
// only if no specific indentation has been previously set
|
// only if no specific indentation has been previously set
|
||||||
if (!preserveLineBreakIndentation) {
|
if (!preserveLineBreakIndentation) {
|
||||||
column = 1;
|
column = 1;
|
||||||
|
@ -1888,7 +1888,7 @@ public class Scribe {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// step back one token
|
// Step back one token
|
||||||
scanner.resetTo(currentTokenStartPosition, scannerEndPosition - 1);
|
scanner.resetTo(currentTokenStartPosition, scannerEndPosition - 1);
|
||||||
return !isFirstModifier;
|
return !isFirstModifier;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue