on master help sign in
Clarified the text in chapter 3 of the tutor (#2735)
3b2d403Bjorn Ove Hay Andersen
runtime/tutor.txt+8−4
@@ -336,21 +336,25 @@ _________________________________________________________________
336= 3.1 MULTIPLE CURSORS =
336= 3.1 MULTIPLE CURSORS =
337=================================================================
337=================================================================
338
338
339− Type C to duplicate the cursor to the next line.
339+ Type C to duplicate the cursor to the next suitable line.
340
340
341 1. Move the cursor to the first line below marked -->.
341 1. Move the cursor to the first line below marked -->.
342− 2. Type C to duplicate the cursor to the next line. Keys you
342+ 2. Type C to duplicate the cursor to the next suitable line.
343+ Notice how it skips the line in the middle. Keys you type
343− type will now affect both cursors.
344+ will now affect both cursors.
344 3. Use Insert mode to correct the lines. The two cursors will
345 3. Use Insert mode to correct the lines. The two cursors will
345 fix both lines simultaneously.
346 fix both lines simultaneously.
346 4. Type , to remove the second cursor.
347 4. Type , to remove the second cursor.
347
348
348 --> Fix th two nes at same ime.
349 --> Fix th two nes at same ime.
350+ -->
349 --> Fix th two nes at same ime.
351 --> Fix th two nes at same ime.
350
352
351 Fix these two lines at the same time.
353 Fix these two lines at the same time.
352
354
353 Note: Type alt-C to do the same above the cursor.
355 Note: Type alt-C to do the same above the cursor.
356+ Note: This also works for selections, but it will pick the first
357+ line that fits the entire selection at the same column.
354
358
355
359
356
360
@@ -446,7 +450,7 @@ _________________________________________________________________
446= CHAPTER 3 RECAP =
450= CHAPTER 3 RECAP =
447=================================================================
451=================================================================
448
452
449− * Type C to copy the selection on the line below and Alt-C for
453+ * Type C to copy the current selection to below and Alt-C for
450 above.
454 above.
451
455
452 * Type s to select all instances of a regex pattern inside
456 * Type s to select all instances of a regex pattern inside