raptor16
30-06-2012 09:33:34
size_t TextView::getCursorPosition(const IntPoint& _value)
if (!lastline)
{
top += height;
result += line->count + 1; // May be +2, because line ending with "\r\n" on windows
}
When I click on EditBox with \r\n text, the following input text will be at wrong position.
if (!lastline)
{
top += height;
result += line->count + 1; // May be +2, because line ending with "\r\n" on windows
}
When I click on EditBox with \r\n text, the following input text will be at wrong position.