mirror of https://github.com/helix-editor/helix
'cargo fmt'
parent
e21e4eb825
commit
3963969b89
|
@ -238,7 +238,9 @@ pub type LSPArray = Vec<serde_json::Value>;
|
||||||
|
|
||||||
/// Position in a text document expressed as zero-based line and character offset.
|
/// Position in a text document expressed as zero-based line and character offset.
|
||||||
/// A position is between two characters like an 'insert' cursor in a editor.
|
/// A position is between two characters like an 'insert' cursor in a editor.
|
||||||
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Copy, Clone, Default, Deserialize, Serialize, Hash)]
|
#[derive(
|
||||||
|
Debug, Eq, PartialEq, Ord, PartialOrd, Copy, Clone, Default, Deserialize, Serialize, Hash,
|
||||||
|
)]
|
||||||
pub struct Position {
|
pub struct Position {
|
||||||
/// Line position in a document (zero-based).
|
/// Line position in a document (zero-based).
|
||||||
pub line: u32,
|
pub line: u32,
|
||||||
|
|
Loading…
Reference in New Issue