[IPython-dev] Ace versus CodeMirror
Mon Jan 23 14:03:17 CST 2012
CodeMirror also has a nice full screen mode we could use. The benefit
of this, is that tab completion/tooltips would still work.
On Mon, Jan 23, 2012 at 11:18 AM, Brian Granger <firstname.lastname@example.org> wrote:
> I think I have fixed the indentation behavior, both for blocks and
> docstrings. Here is the branch:
> Please let me know if this solves the issues completely.
> On Mon, Jan 23, 2012 at 10:49 AM, Brian Granger <email@example.com> wrote:
>> On Mon, Jan 23, 2012 at 4:41 AM, Jason Grout
>> <firstname.lastname@example.org> wrote:
>>> On 1/23/12 6:33 AM, Jason Grout wrote:
>>>> Also, CodeMirror technically can actually apply a rst mode
>>>> (http://codemirror.net/mode/rst/index.html) just inside of docstrings,
>>>> though I don't know if the mode overlay is written yet. That would be
>>>> cool, though. I looked into writing it a long time ago, but haven't yet
>>>> and likely won't have time in the near future.
>>> See the HTML mixed mode at
>>> http://codemirror.net/mode/htmlmixed/index.html or
>>> http://codemirror.net/demo/mustache.html for an example of this.
>>> Basically, you just have to have the python parser have a special state
>>> or docstrings, and then apply the rst mode in that state. Or something
>>> like that. See the last three paragraphs of
>> Great pointer, I was not aware of the mode overlays. Worth looking
>> into for sure.
>>> IPython-dev mailing list
>> Brian E. Granger
>> Cal Poly State University, San Luis Obispo
>> email@example.com and firstname.lastname@example.org
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> email@example.com and firstname.lastname@example.org
Brian E. Granger
Cal Poly State University, San Luis Obispo
email@example.com and firstname.lastname@example.org
More information about the IPython-dev