getCharFormat method

Pointer<CHARFORMAT> getCharFormat([
  1. int range = SCF_SELECTION
])

Gets the CHARFORMAT of this RichEdit.

Implementation

Pointer<CHARFORMAT> getCharFormat([int range = SCF_SELECTION]) {
  final cf = calloc<CHARFORMAT>();
  sendMessage(EM_GETCHARFORMAT, range, cf.address);
  logInfo('getCharFormat', () => 'range: $range');
  return cf;
}