i have my CodeMirror component on svelte and i need to use some functions (declared inside the component) where i use the codemirror to change the value. For example: