capitalizeSelectionOrLine method
Capitalizes words in the selected range, or the current line when there is no selection.
Implementation
bool capitalizeSelectionOrLine() {
final changed = _model.capitalizeSelectionOrLine();
if (changed) {
notifyListeners();
}
return changed;
}