Skip to content

Commit

Permalink
avm2: Stub flash.text.engine.TextLine.getAtomIndexAtCharIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdocmd authored Jan 21, 2024
1 parent 8c6f823 commit c633111
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/src/avm2/globals/flash/text/engine/TextLine.as
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ package flash.text.engine {
return -1;
}

public function getAtomIndexAtCharIndex(charIndex:int):int {
stub_method("flash.text.engine.TextLine", "getAtomIndexAtCharIndex");
return -1;
}

public function getAtomBounds(index:int):Rectangle {
stub_method("flash.text.engine.TextLine", "getAtomBounds");
return new Rectangle(0, 0, 0, 0);
Expand Down

0 comments on commit c633111

Please sign in to comment.