Class EditOperation

edit operation details for EditableContent

Inherits from

  • Object (base class)

Constructors

Name Description
this
this
this
this

Fields

Name Type Description
_action EditAction
_content dstring[] new content for range (if required for this action)
_newRange TextRange
_oldContent dstring[] old content for range
_range TextRange

Properties

Name Type Description
action [get] EditAction action performed
content [get] dstring[]
newRange [get] TextRange new range after operation applied
newRange [set] TextRange
oldContent [get] dstring[]
oldContent [set] dstring[]
range [get] TextRange source range to replace with new content

Methods

Name Description
merge try to merge two operations (simple entering of characters in the same line), return true if succeded

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0