Introduce callback that gets called when user intends to navigate form current line to another (e.g. previous line, next line). It takes one parameter lineId for the line the user intends to switch to. It is passed into editor upon instantiation. Suggestions for function name are welcome, e.g. onLineNaviage, onLineChange, onLineSwitch, etc.
Introduce callback that gets called when user intends to navigate form current line to another (e.g. previous line, next line). It takes one parameter lineId for the line the user intends to switch to. It is passed into editor upon instantiation. Suggestions for function name are welcome, e.g. onLineNaviage, onLineChange, onLineSwitch, etc.