joseeight/ninja — pull request #44 by ananyasen (2012-07-24 00:27:14+00:00)
Title: first cut to show code editor for design document 

Sending this initial part early, so that the switching logic, the content parsing api integration can be worked on in parallel.

This pull request includes:
- Basic opening of the html code in a code editor. It has some bugs that will be addressed soon.
- Currently hard coded the switching logic. It will be cleaned up when switching logic is implemented properly
- The zoom, in the document bar, is tied to the code editor. Other controls yet to come.
- Known bugs in the code view editor : code editor rendering size issue, html commenting issue.