Add methods to get position from column and line in TextEdit
This commit is contained in:
@@ -1028,6 +1028,14 @@
|
||||
Returns text glyphs in the visual order.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shaped_text_get_grapheme_bounds" qualifiers="const">
|
||||
<return type="Vector2" />
|
||||
<argument index="0" name="shaped" type="RID" />
|
||||
<argument index="1" name="pos" type="int" />
|
||||
<description>
|
||||
Returns composite character's bounds as offsets from the start of the line.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shaped_text_get_line_breaks" qualifiers="const">
|
||||
<return type="PackedInt32Array" />
|
||||
<argument index="0" name="shaped" type="RID" />
|
||||
|
||||
Reference in New Issue
Block a user