When I have a the time I'll add a setting page where the user can set using cookies that they don't want syntax highlighting. I'll move the highlighting javascript to a new file and based on the user's cookie I'll enable or disable highlighting for the page.
On 4/5/07, Nils Bruin <[EMAIL PROTECTED]> wrote: > > I appreciate the great work done on the notebook, but I noticed a few > usability degradations in the 2.4 notebook, having to do with focus of > input cells. I think these are due to the introduction of syntax > highlighting in cells without focus. The highlighting is useful, but > the following problems arise (at least in both Firefox 1.5 and 2.0) > > - If an input cell has focus, and the firefox window loses focus > (e.g., "focus follows mouse") and then regains focus, the input cell > has lost focus! In 2.3, the input cell that had focus before the > pointer left the firefox window, would regain focus, and that feels > natural. I find the 2.4 behaviour confusing. > > - If I select text in a cell that does not have focus by dragging the > mouse (i.e., either another cell has focus or no cell at all), then in > 2.4 the cell with the selected text does not gain focus. In 2.3 it > did. If you subsequently try to delete the selected text by pressing > "backspace", the key press goes to the main browser window instead of > the cell and you go to the previously visited page (shortcut for the > "back" button) > > I can see how having text highlighting forced you to chance the cell > type from "text input" to "html text block" or so and that an explicit > click is needed to capture the event of gaining focus. However, the > resulting interface behaviour feels very unnatural and sluggish to me > (to the point of feeling uncooperative), whereas the 2.3 behaviour was > quite natural and felt accommodating by comparison. > > If it really turns out to be a choice between syntax highlighting and > sensible focus behaviour, I would have a serious preference for the > focus behaviour, i.e., 2.3. Unfortunately I don't have the knowledge > to assess whether that's the case, but I'm sure the notebook team has. > > bugtrac has been filed. > > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---
