summaryrefslogtreecommitdiff
path: root/continuedev/src
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-07 21:04:53 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-07 21:04:53 -0700
commit7fa98ffe843320ddc63794a497a2d44570e005c3 (patch)
tree55906d1e3ead08ec8f5481787328a743b11d8834 /continuedev/src
parente096a3e769e0b506cfb8e98c0f1930e85d701a38 (diff)
downloadsncontinue-7fa98ffe843320ddc63794a497a2d44570e005c3.tar.gz
sncontinue-7fa98ffe843320ddc63794a497a2d44570e005c3.tar.bz2
sncontinue-7fa98ffe843320ddc63794a497a2d44570e005c3.zip
fix: :bug: install python-virtualenv on linux, fix git hash files error
Diffstat (limited to 'continuedev/src')
-rw-r--r--continuedev/src/continuedev/core/autopilot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/continuedev/src/continuedev/core/autopilot.py b/continuedev/src/continuedev/core/autopilot.py
index 02fd61de..8b3fb97d 100644
--- a/continuedev/src/continuedev/core/autopilot.py
+++ b/continuedev/src/continuedev/core/autopilot.py
@@ -162,7 +162,7 @@ class Autopilot(ContinueBaseModel):
if not self._adding_highlighted_code and len(self._highlighted_ranges) > 0:
if len(range_in_files) == 0:
return
- if range_in_files[0].range.overlaps_with(self._highlighted_ranges[0].range) and range_in_files[0].filepath == self._highlighted_ranges[0].range.filepath:
+ if range_in_files[0].range.overlaps_with(self._highlighted_ranges[0].range.range) and range_in_files[0].filepath == self._highlighted_ranges[0].range.filepath:
self._highlighted_ranges = [HighlightedRangeContext(
range=range_in_files[0].range, editing=True, pinned=False)]
await self.update_subscribers()