*
*/
-// INTERNAL INCLUDES
+// CLASS HEADER
#include <dali-toolkit/internal/controls/text-input/text-input-text-highlight-impl.h>
-#include <dali/dali.h>
-
-#include <dali/integration-api/debug.h>
-
+// EXTERNAL INCLUDES
#include <math.h>
#include <sstream>
#include <algorithm>
#include <libintl.h>
+#include <dali/integration-api/debug.h>
+
+// INTERNAL INCLUDES
using namespace Dali;
using namespace std;
// TODO: TextView should have a table of visual rows, and each character a reference to the row
// that it resides on. That way this enumeration is not necessary.
Vector2 min, max;
- if(lastIt->mIsNewLineChar)
+ if(lastIt->mIsNewParagraphChar)
{
// If the last character is a new line, then to get the row rect, we need to scan from the character before the new line.
lastIt = std::max( textLayoutInfo.mCharacterLayoutInfoTable.begin(), lastIt - 1 );
{
// finished selection.
Vector2 min, max;
- if(lastIt->mIsNewLineChar)
+ if(lastIt->mIsNewParagraphChar)
{
lastIt = std::max( textLayoutInfo.mCharacterLayoutInfoTable.begin(), lastIt - 1 );
}