Hi all,
how is a blinking cursor in text input fields usually implemented in a
port? Should it just work automatically and the fact that it doesn't in the
Haiku port has perhaps the same root cause as why text input does not work
if I don't ignore isContentEditable() in the following code?
void EditorClientHaiku::handleKeyboardEvent(KeyboardEvent* event)
{
Frame* frame = m_page->focusController()->focusedOrMainFrame();
if (!frame || !frame->document()->focusedNode())
return;
const PlatformKeyboardEvent* kevent = event->keyEvent();
if (!kevent || kevent->type() == PlatformKeyboardEvent::KeyUp)
return;
Node* start = frame->selection()->start().node();
if (!start)
return;
if (true /*start->isContentEditable()*/) {
switch (kevent->windowsVirtualKeyCode()) {
[...]
Best regards,
-Stephan
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help