query text editor