emailuis/emailui/inc/ncsaifeditor.h
branchRCL_3
changeset 73 c8382f7b54ef
parent 64 3533d4323edc
child 80 726fba06891a
equal deleted inserted replaced
70:968773a0b6ef 73:c8382f7b54ef
   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 );
   140     void RepositionEntriesL( const CNcsAifEntry* aEntry );
   141     void RepositionEntriesL( const CNcsAifEntry* aEntry );
   141 
   142 
   142     void CheckAndRemoveInvalidEntriesL();
   143     void CheckAndRemoveInvalidEntriesL();
   143     
   144     
   144     CNcsAifEntry* GetEntryAt( 
   145     CNcsAifEntry* GetEntryAt( 
   166     /** 
   167     /** 
   167      * Handle addition of complete address. May result in complete redraw of the field.
   168      * Handle addition of complete address. May result in complete redraw of the field.
   168      * @return  ETrue   if terminated recipient entry was found and added to array. 
   169      * @return  ETrue   if terminated recipient entry was found and added to array. 
   169      */
   170      */
   170     TBool HandleTextUpdateL( const TCursorSelection& aSelection );
   171     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 );
   171     void HandleNavigationEventL();
   176     void HandleNavigationEventL();
       
   177 
       
   178     // Gets non-entry text at given document position.
   172     TCursorSelection NonEntryTextAtPos( TUint aPosition ) const;
   179     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.
   173     TCursorSelection NonEntryTextBeforePos( TUint aPosition ) const;
   183     TCursorSelection NonEntryTextBeforePos( TUint aPosition ) const;
       
   184 
   174     TBool IsSentinel( TChar aCharacter ) const;
   185     TBool IsSentinel( TChar aCharacter ) const;
       
   186     TBool IsDelimiter( TChar aCharacter ) const;
   175     TBool IsWhitespace( TChar aCharacter ) const;
   187     TBool IsWhitespace( TChar aCharacter ) const;
   176     TBool IsNavigationKey( const TKeyEvent& aKeyEvent ) const;
   188     TBool IsNavigationKey( const TKeyEvent& aKeyEvent ) const;
   177     TBool IsCharacterKey( const TKeyEvent& aKeyEvent ) const;
   189     TBool IsCharacterKey( const TKeyEvent& aKeyEvent ) const;
       
   190 
   178     void GetMatchingEntryCountsL( 
   191     void GetMatchingEntryCountsL( 
   179             const CNcsAifEntry* aEntry,
   192             const CNcsAifEntry* aEntry,
   180             TInt& aNrOfMatchesInText,
   193             TInt& aNrOfMatchesInText,
   181             TInt& aNrOfMatchesInEntryArray );
   194             TInt& aNrOfMatchesInEntryArray );
   182     void CompleteEntryL();
   195     void CompleteEntryL();