Commit log
447f710
Merge pull request #226 from zed-industries/1d-block-map
Click to expand commit body
Allow full diagnostic messages to be displayed in the editor
Max Brunsfeld
created
4 years ago
6f5ca60
Use `anchor_after` in randomized tests to match `BlockMap`
Antonio Scandurra
created
4 years ago
c844fcd
Invalidate active diagnostic when its primary range collapses
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
b0afc80
Ignore diagnostics with empty ranges
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
a023950
Remove unused `group_range` field
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
8e74cc1
Invalidate active diagnostics when they are removed
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
61d8848
Make `BlockMap::sync` private
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
Antonio Scandurra
created
4 years ago
2664dad
Allow styling of invalid diagnostics
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
8d5e3fb
Allow styling of the gutter for block lines
Antonio Scandurra
created
4 years ago
8d1a4a6
Start work on allowing blocks to be styled
Max Brunsfeld
created
4 years ago
c04151f
Bind ShowNextDiagnostic to f8
Max Brunsfeld
created
4 years ago
0b63d88
Allow key bindings to F1 through F12
Max Brunsfeld
created
4 years ago
6aa346d
Fix switched input + output rows in BlockSnapshot::buffer_rows
Max Brunsfeld
created
4 years ago
bef0969
Align block text with the anchor's column
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
,
Antonio Scandurra
, and
Nathan Sobo
created
4 years ago
1a8b23e
Color diagnostic messages based on their severity
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
f399428
Dismiss active diagnostics when hitting escape
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
5094380
Enhance keyboard navigation when showing next diagnostic
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
643545e
When showing the next diagnostic, advance to the next *primary* one
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
0e51365
In a diagnostic group, mark the highest-severity diagnostic as primary
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
401b59b
Refactor retrieving oldest and newest selection
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
0a6293b
Support highlighting in blocks
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
0f1eb3d
Skip block lines when moving up and down
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
856768a
Remove aggressive logging from `WrapMap` update code paths
Antonio Scandurra
created
4 years ago
08e0444
Use char count instead of byte count to determine longest row
Antonio Scandurra
created
4 years ago
b80887d
Don't insert blocks within multi-byte characters in randomized test
Antonio Scandurra
created
4 years ago
572e571
Test longest row only when tabs are not present or the tab size is 1
Click to expand commit body
This is because the longest row calculation is best-effort at the moment,
since this information is not indexed in the `TabMap`.
Antonio Scandurra
created
4 years ago
5a9dea5
Ensure `TabMap` works correctly when there are folds
Antonio Scandurra
created
4 years ago
9ba2479
Re-enable tabs, spaces and multi-byte characters in randomized tests
Antonio Scandurra
created
4 years ago
84d2574
Fix empty range edge case in `FoldMap`
Antonio Scandurra
created
4 years ago
4967a8d
Trim expanded tabs if they overshoot the provided range
Antonio Scandurra
created
4 years ago
b10c82c
Stop at `range.end` when computing text summary for range in TabMap
Antonio Scandurra
created
4 years ago
213aa36
WIP: Track down bugs with longest_row on wrap map
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
c5956a0
Start at the end of the last transform when catching up to edits during wrapping
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
8230dd9
WIP - BlockSnapshot::longest_row
Max Brunsfeld
created
4 years ago
cb18131
Represent scroll position correctly when scrolled mid-block
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
707ffe8
Implement BlockSnapshot::line_len, use it in DisplayMap
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
00b5cc4
Fix BlockSnapshot::chunks when starting in a block
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
1c3bf90
Reimplement BlockSnapshot::{clip_point,to_block_point,max_point}
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
e60500d
Re-enable soft-wrapping in randomized tests
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
88d0c04
Implement `BlockSnapshot::buffer_rows`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
198f669
Use options to represent soft-wrapped buffer rows
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
d9283ef
Make `BlockMap` 1d
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
18354c5
Hack in show next diagnostic command
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
52a4c15
Eliminate non-highlighted chunks APIs
Click to expand commit body
Now we only have a single code path for chunks across all layers, but highlighting is optional and controlled by a flag.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
Nathan Sobo
created
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
880b3f0
Insert empty isomorphic transforms on empty lines
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
,
Max Brunsfeld
, and
Antonio Scandurra
created
4 years ago
d25ec39
Rework `BufferRows` iterator to pass the randomized tests
Click to expand commit body
...without booleans.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
712616d
Start on a randomized test for `BlockMap::buffer_rows`
Antonio Scandurra
created
4 years ago
Page 20 of 58