Function LineGetter.editLineInEditor

line may have private data packed into the dchar bits if you enabled [enableAutoCloseBrackets]. Use ch & ~PRIVATE_BITS_MASK to get standard dchars.

dchar[] editLineInEditor(
  in const(dchar[]) line,
  in const(ulong) cursorPosition
);

History

Introduced on January 30, 2020