GH-86978
--------
Validate extension JSON: Error: Field 'classes/TextEdit/methods/set_selection_mode/arguments': size changed value in new API, from 4 to 1.

Removed optional arguments set_selection_mode, use set_selection_origin_line/column instead.
Compatibility methods registered.
