Function EditableContent.fillSpace

returns spaces/tabs for filling from the beginning of line to specified position

dstring fillSpace(
  int pos
);