emailuis/emailui/inc/ncsaifeditor.h
branchRCL_3
changeset 80 726fba06891a
parent 73 c8382f7b54ef
equal deleted inserted replaced
73:c8382f7b54ef 80:726fba06891a
   135 
   135 
   136     HBufC* GetFormattedAddressListL(
   136     HBufC* GetFormattedAddressListL(
   137         RPointerArray<CNcsAifEntry>& aEntries,
   137         RPointerArray<CNcsAifEntry>& aEntries,
   138         TBool aDisplayList = ETrue ) const;
   138         TBool aDisplayList = ETrue ) const;
   139 
   139 
   140     TInt RepositionEntries( const CNcsAifEntry* aEntry );
       
   141     void RepositionEntriesL( const CNcsAifEntry* aEntry );
   140     void RepositionEntriesL( const CNcsAifEntry* aEntry );
   142 
   141 
   143     void CheckAndRemoveInvalidEntriesL();
   142     void CheckAndRemoveInvalidEntriesL();
   144     
   143     
   145     CNcsAifEntry* GetEntryAt( 
   144     CNcsAifEntry* GetEntryAt( 
   167     /** 
   166     /** 
   168      * Handle addition of complete address. May result in complete redraw of the field.
   167      * Handle addition of complete address. May result in complete redraw of the field.
   169      * @return  ETrue   if terminated recipient entry was found and added to array. 
   168      * @return  ETrue   if terminated recipient entry was found and added to array. 
   170      */
   169      */
   171     TBool HandleTextUpdateL( const TCursorSelection& aSelection );
   170     TBool HandleTextUpdateL( const TCursorSelection& aSelection );
   172     // Moves inputted non-entry text to separate rows apart from entries.
       
   173     void MoveNonEntryTextToDedicatedRowsL( TUint aPosition );
       
   174     // Prepares for text input to given cursor position.
       
   175     void PrepareForTextInputL( TUint aPosition );
       
   176     void HandleNavigationEventL();
   171     void HandleNavigationEventL();
   177 
       
   178     // Gets non-entry text at given document position.
       
   179     TCursorSelection NonEntryTextAtPos( TUint aPosition ) const;
   172     TCursorSelection NonEntryTextAtPos( TUint aPosition ) const;
   180     // Gets non-entry text including surrounding whitespace at given position.
       
   181     TCursorSelection NonEntryTextAndSpaceAtPos( TUint aPosition ) const;
       
   182     // Gets non-enty text right before given document position.
       
   183     TCursorSelection NonEntryTextBeforePos( TUint aPosition ) const;
   173     TCursorSelection NonEntryTextBeforePos( TUint aPosition ) const;
   184 
       
   185     TBool IsSentinel( TChar aCharacter ) const;
   174     TBool IsSentinel( TChar aCharacter ) const;
   186     TBool IsDelimiter( TChar aCharacter ) const;
       
   187     TBool IsWhitespace( TChar aCharacter ) const;
   175     TBool IsWhitespace( TChar aCharacter ) const;
   188     TBool IsNavigationKey( const TKeyEvent& aKeyEvent ) const;
   176     TBool IsNavigationKey( const TKeyEvent& aKeyEvent ) const;
   189     TBool IsCharacterKey( const TKeyEvent& aKeyEvent ) const;
   177     TBool IsCharacterKey( const TKeyEvent& aKeyEvent ) const;
   190 
       
   191     void GetMatchingEntryCountsL( 
   178     void GetMatchingEntryCountsL( 
   192             const CNcsAifEntry* aEntry,
   179             const CNcsAifEntry* aEntry,
   193             TInt& aNrOfMatchesInText,
   180             TInt& aNrOfMatchesInText,
   194             TInt& aNrOfMatchesInEntryArray );
   181             TInt& aNrOfMatchesInEntryArray );
   195     void CompleteEntryL();
   182     void CompleteEntryL();