equal
deleted
inserted
replaced
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); |