Implement more InlaySnapshot methods
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
parent
daa2ebb57f
commit
568a67c4d7
5 changed files with 94 additions and 29 deletions
|
@ -331,7 +331,7 @@ impl TabSnapshot {
|
|||
|
||||
pub fn to_point(&self, point: TabPoint, bias: Bias) -> Point {
|
||||
let inlay_point = self.to_inlay_point(point, bias).0;
|
||||
let suggestion_point = self.inlay_snapshot.to_suggestion_point(inlay_point, bias);
|
||||
let suggestion_point = self.inlay_snapshot.to_suggestion_point(inlay_point);
|
||||
let fold_point = self
|
||||
.inlay_snapshot
|
||||
.suggestion_snapshot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue