Skip to content

Commit 4175138

Browse files
committed
rlselectline for lesson 15
1 parent 99766ee commit 4175138

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

hi/lesson-15.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ Some text
172172

173173
<script>
174174
window.addEventListener('load', function(){
175-
if(editors['pre2'] != null) editors['pre2'].moveCursorTo(3, 31, false);
176-
if(editors['pre4'] != null) editors['pre4'].moveCursorTo(3, 18, false);
177-
if(editors['pre7'] != null) editors['pre7'].moveCursorTo(3 , 20, false);
178-
if(editors['pre9'] != null) editors['pre9'].moveCursorTo(7, 0, false);
175+
rlselectline('pre2',4);
176+
rlselectline('pre4',4);
177+
rlselectline('pre7',4);
178+
rlselectline('pre9',8);
179179
}, false);
180180
</script>

hi/more-15.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ l.5 Text_word $\alpha
119119

120120
<script>
121121
window.addEventListener('load', function(){
122-
if(editors['pre0'] != null) editors['pre0'].moveCursorTo(8, 15, false);
123-
if(editors['pre3'] != null) editors['pre3'].moveCursorTo(3, 5, false);
124-
if(editors['pre6'] != null) editors['pre6'].moveCursorTo(4, 30, false);
122+
rlselectline('pre0',10);
123+
rlselectline('pre3',5);
124+
rlselectline('pre6',6);
125125
}, false);
126126
</script>

0 commit comments

Comments
 (0)