Alex Milowski wrote: > It seems that the Caret actual insert position are not in the same > position on a Mac > (and maybe other platforms). The insert point for the character or > deleting a > character doesn't actually match up. > > This only happens in the XMLData stylesheet view for element textual > content.
I am not sure to understand. With a style sheet such as xmldata.css or bugreport.css (see demos), you have a document view which embeds standard controls (called widgets on Unix). Therefore you may have several carets for the same document: * the caret of an embedded JTextField control for example, which is used when the control has the keyboard focus. * and the caret of the rest of the document view, which is used when no embedded control has the keyboard focus. This is far from being perfect but even without being perfect, we have found the possibility of embedding standard controls in the document view very useful. PS: Don't take xmldata.css too seriously, we have written it to be more a proof of concept than a real solution. For example, when we create configurations for customers who need to edit XML data, we don't use xmldata.css because it is too generic. We create special purpose style sheets.

