Fix indentation bug with relaxed completions in application.yml editor
This commit is contained in:
@@ -47,8 +47,6 @@ public class DocumentEdits implements ProposalApplier {
|
||||
|
||||
private static final Pattern NON_WS_CHAR = Pattern.compile("\\S");
|
||||
|
||||
private boolean isRelativeIndent = false;
|
||||
|
||||
// Note: for small number of edits this implementation is okay.
|
||||
// for large number of edits it is potentially slow because of the
|
||||
// way it transforms edit coordinates (a growing chain of
|
||||
@@ -484,4 +482,8 @@ public class DocumentEdits implements ProposalApplier {
|
||||
public void freezeCursor() {
|
||||
this.grabCursor = false;
|
||||
}
|
||||
|
||||
public boolean hasRelativeIndents() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user