Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,9 @@
package flash.text.ime;
extern final class CompositionAttributeRange {
var converted : Bool;
var relativeEnd : Int;
var relativeStart : Int;
var selected : Bool;
function new(relativeStart : Int, relativeEnd : Int, selected : Bool, converted : Bool) : Void;
}

View File

@ -0,0 +1,19 @@
package flash.text.ime;
extern interface IIMEClient {
@:flash.property var compositionEndIndex(get,never) : Int;
@:flash.property var compositionStartIndex(get,never) : Int;
@:flash.property var selectionActiveIndex(get,never) : Int;
@:flash.property var selectionAnchorIndex(get,never) : Int;
@:flash.property var verticalTextLayout(get,never) : Bool;
function confirmComposition(?text : String, preserveSelection : Bool = false) : Void;
function getTextBounds(startIndex : Int, endIndex : Int) : flash.geom.Rectangle;
function getTextInRange(startIndex : Int, endIndex : Int) : String;
private function get_compositionEndIndex() : Int;
private function get_compositionStartIndex() : Int;
private function get_selectionActiveIndex() : Int;
private function get_selectionAnchorIndex() : Int;
private function get_verticalTextLayout() : Bool;
function selectRange(anchorIndex : Int, activeIndex : Int) : Void;
function updateComposition(text : String, attributes : flash.Vector<CompositionAttributeRange>, compositionStartIndex : Int, compositionEndIndex : Int) : Void;
}