TextView - Fixes cursor position while typing Right To Left text.
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / internal / controls / text-view / text-view-word-processor.cpp
index eba4f52..800a96b 100644 (file)
@@ -113,11 +113,6 @@ void CreateWordTextInfo( const Text& paragraph,
       ChooseFontFamilyName( character, *textStyle );
     }
 
       ChooseFontFamilyName( character, *textStyle );
     }
 
-    // Checks whether the charcter is right to left.
-    const Character::CharacterDirection direction = character.GetCharacterDirection();
-    characterLayoutInfo.mIsRightToLeft = ( ( direction == Character::RightToLeft ) ||
-                                           ( direction == Character::RightToLeftWeak ) );
-
     // Gets the metrics of the font.
     const Font font = Font::New( FontParameters( textStyle->GetFontName(), textStyle->GetFontStyle(), textStyle->GetFontPointSize() ) );
     const Font::Metrics metrics = font.GetMetrics( character );
     // Gets the metrics of the font.
     const Font font = Font::New( FontParameters( textStyle->GetFontName(), textStyle->GetFontStyle(), textStyle->GetFontPointSize() ) );
     const Font::Metrics metrics = font.GetMetrics( character );