Commit log
a8db064
Get wrapping randomized test passing with wrap width as small as 0
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
174a546
Expand tabs correctly in `TabMap`'s highlighted chunks iterator
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
502f54a
Don't poll foreground futures during `DeterministicExecutor::block_on`
Antonio Scandurra
created
4 years ago
416571e
Fix wrap map randomized tests
Antonio Scandurra
created
4 years ago
d61f26d
Get randomized test compiling against new WrapMap structure
Click to expand commit body
It doesn't pass.
Max Brunsfeld
created
4 years ago
53fd3a1
Move LineWrapper test to line_wrapper.rs
Max Brunsfeld
created
4 years ago
5d22c6c
Start restructuring WrapMap with simpler concurrency
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
Antonio Scandurra
created
4 years ago
f7c8864
Fix panic in `WrapMap::highlighted_chunks_for_rows`
Click to expand commit body
Also, add a unit test for `DisplayMap` with syntax highlighting when
soft wrap is on.
Antonio Scandurra
created
4 years ago
830f533
Start work on wrapping lines without text shaping
Max Brunsfeld
created
4 years ago
f169f8e
Ensure that soft wrapped lines don't cause horizontal scrolling
Nathan Sobo
created
4 years ago
699e558
Remove logging
Nathan Sobo
created
4 years ago
ef42d14
Fix `WrapMap::clip_point` at the end of a soft-wrapped line
Click to expand commit body
If that's the case and `Bias` is `Left` we clip to the last
character of the soft-wrapped line.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
915c710
Ensure that we use the `WrapMap` where appropriate in `DisplayMap`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
0875a86
Account for the impact of edits on tab expansion
Click to expand commit body
Tab characters are expanded differently based on the column on which
they appear, which edits can affect. Thus, `TabMap::sync` will now
expand edits to the first tab that appears on the line in which the edit
occurred.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
62ad97a
Add randomized test for `DisplayMap::buffer_rows` and fix logic errors
Antonio Scandurra
created
4 years ago
72fdd3f
Start rendering highlighted text and line numbers via the wrap map
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
Nathan Sobo
created
4 years ago
Max Brunsfeld
created
4 years ago
d0fdc7b
Get simple unit test passing for soft-wrap in DisplayMap
Max Brunsfeld
created
4 years ago
7832562
Add WrapMap as a member of DisplayMap
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
dbc8fc3
Fix assertions in fold map test
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
61397f2
Avoid holding executor's state lock while parked
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
ee21369
Replace DeterministicExecutor::reset with forbid_parking
Click to expand commit body
There's really no point calling reset if we plan on parking afterwards.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
64927ab
Allow DeterministicExecutor to park until forbid_parking is called
Click to expand commit body
This allows us to perform async setup such as talking to the database.
Nathan Sobo
created
4 years ago
f626376
WIP: interpolate edits into snapshot coming from `BackgroundWrapper`
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
3d3a14b
Add `DeterministicExecutor::block_on(duration, future)`
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
3d8c59a
Implement `Snapshot::interpolate`
Antonio Scandurra
created
4 years ago
b66de06
Ensure that `WrapMap`'s input lines match `TabMap`'s output lines
Antonio Scandurra
created
4 years ago
d0113a1
Coalesce contiguous isomorphic transforms
Antonio Scandurra
created
4 years ago
3d845f8
Remove stray logging statements
Antonio Scandurra
created
4 years ago
39b7349
Make randomized tests pass with one operation
Antonio Scandurra
created
4 years ago
3b77b01
Iterate on randomized wrapping test and fix some bugs
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
e0da3fd
Get the randomized soft wrap test passing with no edits
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
2ce42ff
Honor the last line when wrapping even if it doesn't end in \n
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
f9e13f3
Start work on WrapMap::chunks_at
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
8e9a5e0
Fix typo in Point::add_assign
Max Brunsfeld
created
4 years ago
Nathan Sobo
created
4 years ago
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
631a6a2
Re-enable `wrap_map` module and fix compile errors
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
359132a
Extract tab expansion logic into `TabMap`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
5a0d156
Clarify input and output coordinates in `display_map`
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
9e448e6
Add `fold_map::Snapshot::text_summary_for_range`
Antonio Scandurra
created
4 years ago
7a86a2c
Change `fold_map::Edit` to return `DisplayOffset`s
Click to expand commit body
This is needed so that we can translate display offsets into display
points in the `WrapMap`.
Antonio Scandurra
created
4 years ago
38dffc3
Fix errors in WrapMap randomized tests
Antonio Scandurra
created
4 years ago
05e5e5f
Implement FontSystem::wrap_line
Max Brunsfeld
created
4 years ago
Antonio Scandurra
created
4 years ago
1ba9e48
Start on adding a randomized test for `BackgroundWrapper`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
8d3c3d7
Work on a randomized test for edits/snapshots returned by `FoldMap`
Click to expand commit body
...and make it pass too!
Antonio Scandurra
created
4 years ago
Page 11 of 31