One source-buffer edit expressed in byte offsets against the buffer version visible when the edit occurred.
More...
#include "donner/editor/SourceEditIntent.h"
|
|
std::size_t | offset = 0 |
| | Byte offset where the edit starts.
|
|
std::size_t | removedLength = 0 |
| | Number of bytes removed at offset.
|
|
std::string | replacement |
| | Bytes inserted at offset.
|
| SourceEditIntentKind | kind |
| | Structural or textual editing intent represented by this record.
|
|
std::uint64_t | bufferVersion = 0 |
| | Monotonic text-buffer edit version.
|
|
SourceEditPoint | start |
| | Edit start in the pre-edit source buffer.
|
|
SourceEditPoint | removedEnd |
| | End of the removed range in the pre-edit buffer.
|
|
SourceEditPoint | replacementEnd |
| | End of the inserted text in the post-edit buffer.
|
One source-buffer edit expressed in byte offsets against the buffer version visible when the edit occurred.
◆ operator==()
| bool donner::editor::SourceEditIntent::operator== |
( |
const SourceEditIntent & | other | ) |
const |
|
default |
Compare all members for value equality.
- Parameters
-
◆ kind
Initial value:=
@ Unknown
Operation kind was not classified by the caller.
Definition SourceEditIntent.h:12
Structural or textual editing intent represented by this record.
The documentation for this struct was generated from the following file: