diff options
author | Blaž Hrastnik | 2021-03-18 06:23:42 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-18 06:23:42 +0000 |
commit | e9bd9e72c3adf822ae569644dd87f4a5e04df18e (patch) | |
tree | 9babbf9742c36aacaae3291d2d36e56c5ae9a4a2 /helix-term/src/application.rs | |
parent | 175d38c88cf96dfb6744cb260abf2e8f5c1c48b9 (diff) |
Pos conversions always operate on whole documents.
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index ef33db16..48d7186f 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -134,7 +134,7 @@ impl Application { .find(|view| view.doc.path() == path.as_ref()); if let Some(view) = view { - let doc = view.doc.text().slice(..); + let doc = view.doc.text(); let diagnostics = params .diagnostics .into_iter() |