Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
SourceEditIntent.h File Reference
#include <cstddef>
#include <cstdint>
#include <string>
Include dependency graph for SourceEditIntent.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::editor::SourceEditPoint
 Line/column coordinate attached to a source edit boundary. More...
struct  donner::editor::SourceEditIntent
 One source-buffer edit expressed in byte offsets against the buffer version visible when the edit occurred. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Enumerations

enum class  donner::editor::SourceEditIntentKind {
  Unknown ,
  Insert ,
  Delete ,
  Replace ,
  Undo ,
  Redo
}
 High-level source edit operation kind captured from the text editor. More...

Enumeration Type Documentation

◆ SourceEditIntentKind

High-level source edit operation kind captured from the text editor.

Enumerator
Unknown 

Operation kind was not classified by the caller.

Insert 

Text was inserted without removing existing bytes.

Delete 

Existing bytes were removed without inserting replacement text.

Replace 

Existing bytes were replaced with new text.

Undo 

The edit came from text-editor undo.

Redo 

The edit came from text-editor redo.