[IPython-dev] Ace versus CodeMirror
Tue Jan 24 16:43:32 CST 2012
On Tue, Jan 24, 2012 at 2:36 PM, Fernando Perez <firstname.lastname@example.org> wrote:
> On Tue, Jan 24, 2012 at 1:45 PM, Brian Granger <email@example.com> wrote:
>> OK, I do think that if we stick with CM and try to make it work, we
>> will end up better off. Trying to manage the subtle issues in both
>> editors will probably drive us crazy. And I think CM woud work fine
>> as an editor for .py files as well.
>> I will try to adapt the full-window editing mode to CM.
> Is it even needed? I thought the reason for having that separate mode
> was b/c Ace couldn't be dynamically sized like CM. But since CM
> adjusts dynamically to the cell size, and the browser already has a
> scroll bar, I'm not sure I even see the need for the separate view at
There were a few reasons for the separate mode:
* Ace could only have 1 instance.
* Ace had to be statically sized.
* Users might want to mentally focus on a single cell for a while.
With CM, the first two of these reasons are irrelevant. What about
the third point? Maybe it is unneeded complexity - because the
existing CM editors do expand however much they need to.
Brian E. Granger
Cal Poly State University, San Luis Obispo
firstname.lastname@example.org and email@example.com
More information about the IPython-dev