webengine/osswebengine/WebKit/s60/webview/WebFepTextEditor.cpp
branchRCL_3
changeset 70 8bfb9186a8b8
parent 64 ac77f89b1d9e
child 71 4bd5176e1bc8
equal deleted inserted replaced
67:4917f9bf7995 70:8bfb9186a8b8
   349 //
   349 //
   350 //
   350 //
   351 // -----------------------------------------------------------------------------
   351 // -----------------------------------------------------------------------------
   352 void CWebFepTextEditor::CancelFepInlineEdit()
   352 void CWebFepTextEditor::CancelFepInlineEdit()
   353 {
   353 {
   354     if (IsTextAreaFocused()) {
   354     if (IsTextAreaFocused()||IsInputElementFocused()) {
   355         if (m_inlineEditText && DocumentLengthForFep() < DocumentMaximumLengthForFep()) {
   355         if (m_inlineEditText && DocumentLengthForFep() < DocumentMaximumLengthForFep()) {
   356             HBufC* tempBuf = HBufC::NewLC(DocumentLengthForFep());
   356             HBufC* tempBuf = HBufC::NewLC(DocumentLengthForFep());
   357             TPtr ptr(tempBuf->Des());
   357             TPtr ptr(tempBuf->Des());
   358             GetEditorContentForFep(ptr, 0, DocumentLengthForFep());
   358             GetEditorContentForFep(ptr, 0, DocumentLengthForFep());
   359             TInt position = ptr.Locate(KLineEnterChar);
   359             TInt position = ptr.Locate(KLineEnterChar);