equal
deleted
inserted
replaced
382 m_webView->fepTextEditor()->HandleUpdateCursor(); |
382 m_webView->fepTextEditor()->HandleUpdateCursor(); |
383 if (frame->selectionController()->start() != startPos && |
383 if (frame->selectionController()->start() != startPos && |
384 frame->selectionController()->end() != endPos) { |
384 frame->selectionController()->end() != endPos) { |
385 event->setDefaultHandled(); |
385 event->setDefaultHandled(); |
386 } |
386 } |
|
387 else { |
|
388 m_shouldEndEditing = !m_webView->fepTextEditor()->IsTextAreaFocused(); |
|
389 } |
387 break; |
390 break; |
388 |
391 |
389 case EKeyRightArrow: |
392 case EKeyRightArrow: |
390 if (select)//If shift is pressed then highlight the selection |
393 if (select)//If shift is pressed then highlight the selection |
391 { |
394 { |
401 } |
404 } |
402 m_webView->fepTextEditor()->HandleUpdateCursor(); |
405 m_webView->fepTextEditor()->HandleUpdateCursor(); |
403 if (frame->selectionController()->start() != startPos && |
406 if (frame->selectionController()->start() != startPos && |
404 frame->selectionController()->end() != endPos) { |
407 frame->selectionController()->end() != endPos) { |
405 event->setDefaultHandled(); |
408 event->setDefaultHandled(); |
|
409 } |
|
410 else { |
|
411 m_shouldEndEditing = !m_webView->fepTextEditor()->IsTextAreaFocused(); |
406 } |
412 } |
407 break; |
413 break; |
408 |
414 |
409 case EKeyUpArrow: |
415 case EKeyUpArrow: |
410 frame->editor()->execCommand("MoveUp"); |
416 frame->editor()->execCommand("MoveUp"); |