On Oct 12, 2010, at 8:20 PM, Christian Grün wrote:
Michael,
thanks for your feedback. I hope you were successful switching to our latest versions?
Yes. I am now running BaseX 6.1 under Mac OS X 10.6.4, installed from the .dmg on the download page.
Some more questions:
– does the problem persist with our latest minor verion (6.2.9)? Source: http://www.inf.uni-konstanz.de/dbis/basex/maven/org/basex/basex/6.2.9/basex-...
I'll check. [...] Yes. That is, control-A continues to insert the illegal character U+0001 into the buffer and to elicit an error message. The behavior is different, however, in that the token nearest the invisible ^A is now highlighted in pink (unless the ^A is the first character in the query, in which case it remains invisible). The highlighting gives me a visual clue about where the problem is, and goes a long way toward solving the visibility problem. Thank you!
– as I didn't manage yet to reproduce the issue: which keys do you exactly use to end up with the control codes, and which OS are you using? In BaseX, shortcuts like ctrl+a should only responsible for marking all the text, etc.
I wonder if the phenomenon is related to the domestication (if that's the right word -- similar to localization, but not quite the same thing!) of the Java window interface on the Mac: in most cases where Windows and Linux use control keys, OS X uses the 'commend' key, so I type command-a to select the entire text, command-c to copy it, etc., instead of the control-a, control-c one typically uses in Windows and Linux apps.
So I speculate that you will be able to replicate the issue only on a Mac.
I hope this helps.
p.s. If there is a dmg package for 6.2.9, or instructions for integrating newer jar files into an existing BaseX.app, I'd be grateful for a pointer -- the color highlighting of syntax problems is a good help!
Thank you for your quick response.