LSP Completion: Support textEdit
textEdit
property was introduced with LSP 3.16. It allows the server to specify what range of characters should be replaced when a particular completion is executed.
This solves the issue of "tail removal" and extra brackets etc as well.
For this to work correctly, frameworks/ktexteditor!167 (merged) must go in first.
Edited by Waqar Ahmed