CodeEditor callback added when marking lines