Returns whether this text attribute is equivalent to the passed in
object. To be equivalent, all of the following conditions must be true:
object
is not null.
object
is an instance of class TextSyntax.
This text attribute's underlying string and object
's
underlying string are equal.
This text attribute's locale and object
's locale are
equal.
Returns:
True if
object
is equivalent to this text
attribute, false otherwise.
Parameters:
-
object - Object to compare to.