I have added the following to web2py's CodeMirror implementation:

- line highlight (line with the cursor is highlighted)
- autofocus (focus in the editor when page is opened)
- fullscreen toggle (F11 toggles editor to fill the entire window, ESC or 
repeated F11 exits to default editor size).

All this is basically taken from the existing CodeMirror demos and from 
their docs.

Is this something that could be useful to others? I know I'd miss all three.

Regards,
Ales


On Sunday, September 9, 2012 6:26:40 AM UTC+2, Massimo Di Pierro wrote:
>
> we are considering replacing the admin editor with codemirror since it 
> should work with IE.
>
> Can you please help us try it?
>
> get web2py form github and edit admin/models/0.py and set the editor to 
> 'codemirror'.
>
> let us know what browser you try and your findings.
>
> Massimo
>

-- 



Reply via email to