Unify highlights in *Map
This commit is contained in:
parent
6c00cd8a35
commit
9f5314e938
10 changed files with 100 additions and 118 deletions
|
@ -702,7 +702,7 @@ impl AssistantPanel {
|
|||
}
|
||||
|
||||
if foreground_ranges.is_empty() {
|
||||
editor.clear_text_highlights::<PendingInlineAssist>(cx);
|
||||
editor.clear_highlights::<PendingInlineAssist>(cx);
|
||||
} else {
|
||||
editor.highlight_text::<PendingInlineAssist>(
|
||||
foreground_ranges,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue