On Friday, February 24, 2012 2:01:07 PM UTC-5, Alok wrote:
>
> Hi Friends,
> Excuse me if this question has been answered. Also I am new to web2py but 
> I love, just love what I have seen so far.
> One issue which is bothering me though is this.
> When I try and edit a file using the Web based editor in Windows 7 and IE 
> 9, and bring up the file, the program starts either highlighting or 
> unhighlighting each and every line. This happens painfully slowly. On top 
> of thisn when I try to click on a empty line, either the click does not 
> register or the opposite process starts. If the lines were highlighted, 
> they start becoming unhighlighted and if they were unhighlighted then they 
> start becoming highlighted. (Highlighted=Selected)
>

If you switch to "compatibility mode" (i.e., IE7 mode), the editor will 
actually work a lot better (still some glitches, but fairly usable). You 
can also click the "Toggle editor" checkbox below the edit window, and it 
will revert to a standard textarea (with no syntax highlighting). Another 
option is to switch from the default EditArea editor to the alternative Amy 
editor -- to do this, in /web2py/applications/admin/models/0.py, change:

TEXT_EDITOR = 'edit_area' or 'amy'

to

TEXT_EDITOR = 'amy'

Note, the Amy editor works in IE9, but not IE<9.

Anthony

Reply via email to