Closed benjaminRomano closed 8 years ago
@74th A potential fix for this is to add selections to motions.
interface IMotion {
SetCount(count: number);
CalculateEnd(editor: IEditor, start: IPosition): IPosition;
CalculateSelectionRange(editor: IEditor, start: IPosition): IRange; //New function
}
Do you think this is a good solution? Also, I could implement this if you are interested.
Given this code:
Using
cw
ontrue
will change the text to this: