i use editor.getValue to get the editor text, made some changes and then use editor.setValue to update the editor text but when file are too large this technique fails because the whole file is highlighted again.
so, i want to know is there any way to just current line and then update it.