textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutmultilineicf.h
branchRCL_3
changeset 50 5a1685599b76
parent 44 ecbabf52600f
--- a/textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutmultilineicf.h	Tue Sep 14 21:59:06 2010 +0300
+++ b/textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutmultilineicf.h	Wed Sep 15 12:34:44 2010 +0300
@@ -506,13 +506,19 @@
                            
     inline TBool TextSelectionOn();
 
-    void SetInlineStateL(TBool aInline, 
+    /**
+     * @return ETrue if redraw is required.
+     */
+    TBool SetInlineStateL(TBool aInline, 
                          TInt aStartPos = 0, 
                          TInt aEndPos = 0, 
                          TBool aNoMatchState = EFalse, 
                          const TDesC& aNoMatchText = KNullDesC);
 
-    void SetAutoCompleteStateL(TBool aAutoComplete, 
+    /**
+     * @return ETrue if redraw is required.
+     */
+    TBool SetAutoCompleteStateL(TBool aAutoComplete, 
                                TInt aStartPos = 0, 
                                TInt aMidPos = 0,
                                TInt aEndPos = 0);
@@ -562,13 +568,22 @@
     
     TBool IsTextPosValid(TInt aPos);
     
-    void UpdateTextL(const TFepInputContextFieldData& aData);
+    /**
+     * @return ETrue if text was updated.
+     */
+    TBool UpdateTextL(const TFepInputContextFieldData& aData);
     
     static TInt UpdateSecretTextL(TAny* aEditArea);
     
-    void SetSelectionL(TCursorSelection aCurSel);
+    /**
+     * @return ETrue if redraw is required.
+     */
+    TBool SetSelectionL(TCursorSelection aCurSel);
 
-    void UpdateNoMatchTextL(TInt aPos, const TDesC& aNoMatchText, TBool aNoMatchState);
+    /**
+     * @return ETrue if text was modified.
+     */
+    TBool UpdateNoMatchTextL(TInt aPos, const TDesC& aNoMatchText, TBool aNoMatchState);
     
     void RemoveOverlappedCtrlIfNeeded();
 
@@ -604,11 +619,19 @@
     
     void ResetApplyFont();
     
-    void TryDisplayMaxTextL(TInt aCursorPos);
+    /**
+     * Scrolls text so that cursor becomes visible.
+     * 
+     * @return ETrue if text was scrolled.
+     */
+    TBool TryDisplayMaxTextL(TInt aCursorPos);
     
     TBool MoveCursorL( const TPoint& aPt, TInt& aCursorPos );
     
-    void ResetViewHeightL();
+    /**
+     * @return ETrue if redraw is required.
+     */
+    TBool ResetViewHeightL();
     
     void SetMfneTextL(const TFepInputContextFieldData& aData);
     
@@ -624,7 +647,7 @@
     
     TBool HighlightOverlapWithBubble( const TRect& aRect );
     
-    void AdjustSelectionL( const TCursorSelection& aCurSel );
+    TBool AdjustSelectionL( const TCursorSelection& aCurSel );
     
     void ApplyLineSpaceFormatL( TInt aLineHeight );
     void CalcPromptTextRectL();