Expand description
The main RPC protocol, for communication between xi-core
and the client.
We rely on Serde for serialization and deserialization between the JSON-RPC protocol and the types here.
Structs§
- Edit
Command - A helper type, which extracts the
view_id
field from edit requests and notifications. - Find
Query - Line
Range - An inclusive range.
- Mouse
Action - A mouse event. See the note for
LineRange
. - Position
Enums§
- Core
Notification - The notifications which make up the base of the protocol.
- Core
Request - The requests which make up the base of the protocol.
- Edit
Notification - The edit-related notifications.
- Edit
Request - The edit related requests.
- Gesture
Type - An enum representing touch and mouse gestures applied to the text.
- Plugin
Notification - The plugin related notifications.
- Selection
Granularity - The smallest unit of text that a gesture can select
- Selection
Modifier - Represents how the current selection is modified (used by find operations).