FIR IDE: implement generators for IDE diagnostics
This commit is contained in:
@@ -177,4 +177,12 @@ public class Printer {
|
||||
public String toString() {
|
||||
return out.toString();
|
||||
}
|
||||
|
||||
public int getCurrentIndentLengthInUnits() {
|
||||
return indent.length() / indentUnit.length();
|
||||
}
|
||||
|
||||
public int getIndentUnitLength() {
|
||||
return indentUnit.length();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user