[webkit-dev] Overtype mode in WebKit for editable content?
pkasting at google.com
Mon Mar 11 15:56:47 PDT 2013
On Mon, Mar 11, 2013 at 2:59 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> Is it expected that overtype works on Windows or on Linux? e.g. If "Edit"
> and "RichEdit" window classes both support this feature natively on Windows
> (which I bet they do), then the answer is yes.
The non-rich edit control on Windows (i.e. Notepad) does not support
overtype mode. The rich edit control (Wordpad) does support it. MS Word
also uses a rich edit control, and goes further by displaying an explicit
"normal vs. overtype" indicator in its UI.
The Chrome omnibox uses a native rich edit control, but in early testing
overtype mode always ended up being confusing and annoying, so we disabled
it, and we've never had a request to re-enable.
I'm not necessarily opposed to plumbing support for overtype mode, but I
suspect it may not make sense for all text input controls, e.g. single-line
controls; and even if we support it, we may want some mechanism to show the
user what mode they're in. Without a visual indicator, it can be
surprising and frustrating (which is how it feels to me in Wordpad).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev