getRange method
Get the text between the given points in the editor. An optional third argument can be given to indicate the line separator string to use (defaults to "\n").
Implementation
String? getRange(Position from, Position to, [String? separator]) {
return callArgs('getRange', [from.toProxy(), to.toProxy(), separator]);
}