On Mon, Dec 24, 2007 at 04:37:21PM +0100, Jürgen Spitzmüller wrote: > Enrico Forestieri wrote: > > This is perfect. I only dislike the verbose warning in the view source > > window. > > At least you can hardly miss it ;-)
That's for sure ;-) > > I would have preferred to only have the offending character > > shown in red, > > This is difficult to achieve. Yes, I know. > > or at least something less verbose such as <uncodable: ?>, > > but I will not stop you for that ;-) > > I thought we can reuse this for other "LyX Warnings" as well (if we ever need > it). Yes, I got that, but I think that it could be improved. I mean, a XML like syntax is good for parsing but not for presentation, so maybe the following strategy could be followed. When there is something like <LyX Warning: xyz>abc</LyX Warning> we could simply show in red: <xyz: abc> In this case, <LyX Warning: uncodable character>?</LyX Warning> would be shown as: <uncodable character: ?> -- Enrico
