forked from enlightenment/efl
efl_text_attribute_factory: update documention
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10806
This commit is contained in:
parent
d8fb0b049a
commit
a5837cb4ed
|
@ -6,7 +6,7 @@ abstract @beta Efl.Text.Attribute.Factory extends Efl.Object {
|
||||||
|
|
||||||
Attributes can be assigned to character ranges, selected using two @Efl.Text.Cursor instances.
|
Attributes can be assigned to character ranges, selected using two @Efl.Text.Cursor instances.
|
||||||
Cursor instances are already bound to a text object so there's no need to provide it to this class.
|
Cursor instances are already bound to a text object so there's no need to provide it to this class.
|
||||||
Style is specified using format strings as described in Efl.Canvas.Text.style_set.
|
Style is specified using format strings as described in @Efl.Canvas.Text.style_apply.
|
||||||
|
|
||||||
There is no need to instantiate this class. Use directly the @.attribute_insert and @.attribute_clear static methods.]]
|
There is no need to instantiate this class. Use directly the @.attribute_insert and @.attribute_clear static methods.]]
|
||||||
methods {
|
methods {
|
||||||
|
@ -15,7 +15,7 @@ abstract @beta Efl.Text.Attribute.Factory extends Efl.Object {
|
||||||
|
|
||||||
The $format will be applied to the given range.
|
The $format will be applied to the given range.
|
||||||
The passed cursors must belong to same textObject, else insertion will be ignored.
|
The passed cursors must belong to same textObject, else insertion will be ignored.
|
||||||
Passed format parameter uses same format as style in Efl.Canvas.Text.style_set.
|
Passed format parameter uses same format as style in @Efl.Canvas.Text.style_apply.
|
||||||
]]
|
]]
|
||||||
params {
|
params {
|
||||||
start: const(Efl.Text.Cursor); [[Start of range.]]
|
start: const(Efl.Text.Cursor); [[Start of range.]]
|
||||||
|
|
Loading…
Reference in New Issue