setExtending method
Sets or clears the 'extending' flag, which acts similar to the shift key, in that it will cause cursor movement and calls to extendSelection to leave the selection anchor in place.
Implementation
void setExtending(bool value) {
callArg('setExtending', value);
}