getFormattingEditsForRange

abstract external fun getFormattingEditsForRange(fileName: String, start: Int, end: Int, options: FormatCodeOptions): ReadonlyArray<TextChange>(source)
abstract external fun getFormattingEditsForRange(fileName: String, start: Int, end: Int, options: FormatCodeSettings): ReadonlyArray<TextChange>(source)