avm2: Stub more TextField getLine methods

This commit is contained in:
Tom Schuster 2024-01-07 12:53:25 +01:00 committed by Aaron Hill
parent 857c3af64f
commit e0abe72da4
1 changed files with 44 additions and 34 deletions

View File

@ -138,5 +138,15 @@ package flash.text {
stub_method("flash.text.TextField", "getCharIndexAtPoint");
return 0;
}
public function getLineLength(lineIndex:int):int {
stub_method("flash.text.TextField", "getLineLength");
return 0;
}
public function getLineText(lineIndex:int):String {
stub_method("flash.text.TextField", "getLineText");
return "";
}
}
}