We're working on an application that requires the ability to highlight javascript and html syntax in a manner identical to the way it's done in the "Source Code" tab in the qooxdoo demobrowser: (http://demo.qooxdoo.org/current/demobrowser/#example~Atom_1.html).
I stole the "__beautifySource", and "__beautifyHtml" functions from the 0.7.x Demobrowser file "..\frontend\application\demobrowser\source\class\demobrowser\DemoBrowser.js" and repackaged them into a new Mixin called "MSyntaxHighlight". This mixin can be added to qx.ui.embed.HtmlEmbed and hopefully to other current and future classes. Note: "__beautySource" was renamed to "beautySource" (no underscores) because it becomes a public function. I hope to publish a demo in the near future. -Mike -- View this message in context: http://www.nabble.com/new-mixin-contrib%3A-MSyntaxHighlight-tp17309689p17309689.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
