Commit a6628d5
authored
Assistant: Improves inline chat text editing (#10911)
Fixes an issue in Assistant's streaming text replacement logic when
inserting text across multiple lines in inline chat. The existing logic
did not reset the insertion position's character location when moving to
a new line, leading to text being inserted mid-way through a line -
possibly interposing with existing text.
Addresses #109141 parent 6c59780 commit a6628d5
File tree
1 file changed
+6
-1
lines changed- extensions/positron-assistant/src
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
| |||
0 commit comments