Hi,<div><br></div><div>I think the long-form edit case is very promising. It borders on full blown development, and seems to imply the eventual unification of the cellular edit style with the file-oriented style of a typical editor. Is that the idea? (Aside: i signed up for <a href="http://c9.io">c9.io</a> based on the Ace editor project, and it is the best online IDE I've tried - they have tabbed editors btw).<br>
<div><br></div><div>- I tried selecting a block in a cell, and it seemed like tab did indent, and shift-tab de-indented. Is that what you meant by indentation support?</div><div>- the total lack of docstring support in CM is annoying, maybe it is feasible to patch CM to support it properly?</div>
<div>- CM has a decent demo of search/replace, that I think is as good as Ace: <a href="http://codemirror.net/demo/search.html">http://codemirror.net/demo/search.html</a></div><div><br></div><div>My free advice (which is worth what you pay for it :) ) is to aim to have one editor for cell and long-form editing. It seems like getting the docstring and indentation support in CM would have to be compared to getting Ace to support multiple editors on one page.</div>
<div><br></div><div>thanks,</div><div>fawce</div><div><br><br><div class="gmail_quote">On Sun, Jan 22, 2012 at 5:39 PM, Fernando Perez <span dir="ltr"><<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, Jan 22, 2012 at 1:56 PM, Brian Granger <<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a>> wrote:<br>

> Some questions:<br>
><br>
> * Is Ace really that much better that it is worth us shipping/using it?<br>
> * Do people like the ability to edit a single cell in a<br>
> more-full-window capacity?<br>
><br>
> Please check out the Ace capabilty in master and let us know what you think...<br>
<br>
</div>There are some limitations of CM that make it really painful for<br>
editing longer cells:<br>
<br>
- inability to rigidly indent/dedent whole blocks.  This is a killer<br>
for refactoring just about anything.<br>
<br>
- no indentation support (not even soft-tabs) inside docstrings.<br>
Typing eight spaces at the beginning of each line in a method<br>
docstring is ridiculously annoying.  I just type them in emacs and<br>
paste them back in.<br>
<br>
- no search and replace: also killer for refactoring.<br>
<br>
These are the big ones for me, so I'm +1 on including Ace.<br>
<br>
There's also the fact that in teaching/workshops, we often struggle<br>
with the question of 'what editor should I use along with ipython'.<br>
Once Ace is available, we can simply tell people to use it for editing<br>
also their python scripts, all within the ipython workflow.  This may<br>
not be the long-term solution they want if they become full-time<br>
users, but when you only have a day or two to teach a group some<br>
basics, having ipython provide them a complete solution out of the box<br>
would be great, I think.<br>
<br>
Cheers,<br>
<div class="HOEnZb"><div class="h5"><br>
f<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br></div></div>