You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-core/src
Pascal Kuthe 2af14a24ab respect line annotations in char_idx_at_visual_row_offset
char_idx_at_visual_row_offset asssumed that a single line/block break
always corresponded to a vertical offset of 1. However conceal can hide
the line break (in which case the certical offset would be 0) and line
annotations (or softwrapped inlay hints at the end of the line) can insert
addtional vertical lines.

To correctly account for these cases we simply compute the visual offset
of the start of the next block from the previous block instead of the
visual offset of the block end. This means that the line breaks at the
end of the block (however many there may be) are automatically included
and we don't need to manually add 1 to the `row_offset` anymore.
2 years ago
..
doc_formatter Feat: LSP Type Hints (#5934) 2 years ago
increment Fix new clippy lints (#5892) 2 years ago
auto_pairs.rs Fix erroneous indent between closers of auto-pairs (#5330) 2 years ago
chars.rs Temporarily turn on unicode-lines 3 years ago
comment.rs Prevent a panic when uncommenting a line with only a comment token (#5933) 2 years ago
config.rs Add support for local language configuration (#1249) 3 years ago
diagnostic.rs Feat: LSP Type Hints (#5934) 2 years ago
diff.rs delete outdated reference to cessen/ropey#25 (#4928) 2 years ago
doc_formatter.rs rework positioning/rendering and enable softwrap/virtual text (#5420) 2 years ago
graphemes.rs rework positioning/rendering and enable softwrap/virtual text (#5420) 2 years ago
history.rs Fix transaction composition order in History::changes_since (#4981) 2 years ago
indent.rs Fix indentation level calculation for lines mixing tabs and spaces (#6278) 2 years ago
lib.rs fix view anchors not at start of a visual line 2 years ago
line_ending.rs properly handle LSP position encoding (#5711) 2 years ago
macros.rs Split parts of helix-term into helix-view. 4 years ago
match_brackets.rs Fix match brackets comment (#1346) 3 years ago
movement.rs fix test::plain 2 years ago
object.rs Fix edge-case in tree-sitter expand_selection selection command (#2877) 2 years ago
path.rs Add workspace and document diagnostics picker (#2013) 2 years ago
position.rs respect line annotations in char_idx_at_visual_row_offset 2 years ago
register.rs Refactor blackhole register (#4504) 2 years ago
search.rs Jump to the next number on the line before incrementing (#1778) 3 years ago
selection.rs Add IntoIterator implementation for Selection 2 years ago
shellwords.rs Fix utf8 length handling for shellwords (#5738) 2 years ago
surround.rs Add test cases for existing pair matching logic. (#6027) 2 years ago
syntax.rs build(deps): bump bitflags from 1.3.2 to 2.0.2 (#6387) 2 years ago
test.rs fix test::plain 2 years ago
text_annotations.rs use partition_point instead of binary_search_by 2 years ago
textobject.rs fix test::plain 2 years ago
transaction.rs Add API to create a Transaction from potentially overlapping changes 2 years ago
wrap.rs Softwrapping improvements (#5893) 2 years ago