getCharFormat method
Gets the CHARFORMAT
of this RichEdit.
- Calls sendMessage EM_GETCHARFORMAT.
Implementation
Pointer<CHARFORMAT> getCharFormat([int range = SCF_SELECTION]) {
final cf = calloc<CHARFORMAT>();
sendMessage(EM_GETCHARFORMAT, range, cf.address);
logInfo('getCharFormat', () => 'range: $range');
return cf;
}