Commit 3d7b1aa
committed
Fix #182: Run Selection doesn't capture whole line
This change fixes an issue with the "Run Selection" command when it is
executed on a line without any text being selected. In this case the
expected behavior is to execute the entire line but only the line contents
up to the cursor position were being executed. The fix is to change the
content selection code to ensure that the line's full content is executed.1 parent cab5543 commit 3d7b1aa
1 file changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
149 | 155 | | |
| 156 | + | |
150 | 157 | | |
151 | | - | |
152 | | - | |
153 | | - | |
| 158 | + | |
154 | 159 | | |
155 | 160 | | |
156 | 161 | | |
| |||
0 commit comments