* fix: only reset hints and test button on restart
Previously it would be triggered by any change to the editor contents
* refactor: move output node reset into own function
* refactor: reorganise init/update editable region args
* fix: control when line decorations update
* refactor: clean up updateEditableRegion