My favorite text editor on Windows platform is Notepad++. For current project, a XQuery syntax highlighting is better than nothing.
You can find a post, “XQuery support in Notepad++ XQuery 1.0 and MarkLogic 4.1 update“, and download XQuery language definition file from a GitHub project – NotepadPlusPlus-XQuery.