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
commit6f0e6340bb22ee150ef4b7996750f4c63c0bc2a7 (patch)
tree2c7f0db9274f66e17d3f9d2480077037ac8f15fd /continuedev/src
parent08ad48a3f7a3facb52605b10c6d0e7666d03551a (diff)
downloadsncontinue-6f0e6340bb22ee150ef4b7996750f4c63c0bc2a7.tar.gz
sncontinue-6f0e6340bb22ee150ef4b7996750f4c63c0bc2a7.tar.bz2
sncontinue-6f0e6340bb22ee150ef4b7996750f4c63c0bc2a7.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()