A very small code editor.
Mini code editor
A non-trivial sample with basic features of a code editor, like syntax detection and syntax highlight. If also uses the extended FileSystem API that allows a user to select files from the disk so the app can read and write to that file.
See the source code at https://github.com/GoogleChrome/chrome-app-samples/tree/master/mini-code-edit
This version was built from git commit d0e4bdf https://github.com/GoogleChrome/chrome-app-samples/tree/d0e4bdf/mini-code-edit