replaceSel method
Replaces the selection with text
.
- Calls sendMessage EM_REPLACESEL.
Implementation
int replaceSel(String text) {
logInfo('replaceSel', () => 'text: <<$text>>');
return sendMessage(EM_REPLACESEL, 0, text.toNativeUtf16().address);
}