diff options
author | Ivan Tham | 2021-11-03 03:02:29 +0000 |
---|---|---|
committer | GitHub | 2021-11-03 03:02:29 +0000 |
commit | 3eb829e2330fed5ad1c095f8bba44f62361b4943 (patch) | |
tree | 400ee47dd753eb318774f9ab02934f0e70b92597 /helix-core/src/lib.rs | |
parent | ee889aaa854d0036da3bae16252bc382e50b0df6 (diff) |
Ensure coords in screen depends on char width (#885)
The issue affected files with lots of tabs at the start as well.
Fix #840
Diffstat (limited to 'helix-core/src/lib.rs')
-rw-r--r-- | helix-core/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs index 96f88ee4..d1720df0 100644 --- a/helix-core/src/lib.rs +++ b/helix-core/src/lib.rs @@ -194,7 +194,7 @@ pub use tendril::StrTendril as Tendril; pub use {regex, tree_sitter}; pub use graphemes::RopeGraphemes; -pub use position::{coords_at_pos, pos_at_coords, Position}; +pub use position::{coords_at_pos, pos_at_coords, visual_coords_at_pos, Position}; pub use selection::{Range, Selection}; pub use smallvec::SmallVec; pub use syntax::Syntax; |