bug #4323 QueryWindow ignores CodeMirror

Signed-off-by: Marc Delisle <marc@infomarc.info>