I can subscribe to changes quite easily
editor.onDidStopChanging(() => {
However how can I know what exacty changed. Currently I am forced to do editor.getText()
which is not great for performance.
editor.onDidStopChanging(() => {
var newText = editor.getText();
Is there a better way.