enthought/enaml — pull request #179 by brett-patterson (2012-08-10 20:49:35+00:00)
Title: Text editor

This PR adds a text editor to enaml, using Ace editor and tabs written in javascript. It supports multiple editor columns for side-by-side editing. It is embedded in a QWebView for Qt, but not implemented for anything else. It works for the most part, but has two small bugs (that I know of):

1. With two editor columns, if you drag a tab from the first tab bar to the second and then back to the first tab bar without dropping the tab, the second tab bar does not have its tabs resized properly. This happens (from what I can tell) because jQueryUI does not trigger the 'out' event properly.

2. Ace throws two cryptic errors to the javascript console on startup. The only error message is '[object Event]'. A corresponding Event object is printed to the console, but I could not find anything useful there. Needless to say, I wasn't able to track down where these errors are coming from. They don't seem to affect the functionality of the text editor though.