greystate/xpathfiddle — pull request #7 by greystate (2012-10-29 22:07:55+00:00)
Title: Refinements in XPath expressions field

Implemented caret positioning in completions so the caret can be positioned in the "logical" position, depending on the completion.

Also changed focus()/select() behavior to ignore the value info (e.g. " <-- 35 ") and error messages inside the field when auto-selecting the contents. This way you can usually just start typing again, if you use the info.