Bugfix: Manchmal wurden nicht alle Marker verschoben.
This commit is contained in:
parent
c7fae51dd0
commit
3c469b567b
@ -143,7 +143,7 @@ public class TypeReplaceMarker extends JavMarker implements Comparable {
|
||||
TypeReplaceMarker other = (TypeReplaceMarker)o;
|
||||
|
||||
if (this.getPositionInCode() == other.getPositionInCode()) {
|
||||
return 0;
|
||||
return this.tip.getInsertString().compareTo(other.tip.getInsertString());
|
||||
} else if (this.getPositionInCode() > other.getPositionInCode()) {
|
||||
return 1;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user