Added BTextControl::TextLength() method.

This commit is contained in:
Axel Dörfler
2015-03-27 13:24:09 +01:00
parent d95c5011bd
commit 8bc3ecb054
2 changed files with 11 additions and 2 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2001-2012, Haiku Inc.
* Copyright 2001-2015, Haiku Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
@@ -567,6 +567,13 @@ BTextControl::Text() const
}
int32
BTextControl::TextLength() const
{
return fText->TextLength();
}
void
BTextControl::MarkAsInvalid(bool invalid)
{