Changed to use mpSourceEditor for variable value