feat: add Buffer get_from_pos function
This commit is contained in:
parent
2db66a1369
commit
fb1d91585f
2 changed files with 11 additions and 0 deletions
|
@ -2910,6 +2910,7 @@ pub const Editor = struct {
|
|||
syn.refresh_full(content.items)
|
||||
else
|
||||
syn.refresh(content.items);
|
||||
// syn.refresh_from_buffer(root, self.plane.metrics()); // TODO: partial refresh from buffer when treez PR is merged and flow-syntax is updated
|
||||
self.syntax_refresh_full = false;
|
||||
self.syntax_token = token;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue