Improve valueChanged and add sourceEditorCaret() method.