From b88a1a343c17d8e99fd61ddeb87580b35a54b38c Mon Sep 17 00:00:00 2001 From: brunbjerg Date: Sun, 26 May 2024 11:07:25 +0200 Subject: [PATCH 1/5] added: progressive increment and decrement to the helix --tutor --- runtime/tutor | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/runtime/tutor b/runtime/tutor index 5e82cf888fd3..b8edfe935756 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -834,6 +834,29 @@ lines. +================================================================= += 7.5 PROGRESSIVE INCREMENTING AND DECREMENTING = +================================================================= + + Type '"#c-a' ('"#c-x') on multiple selections to progressively + increment (decrement) numbers. + + 1. Move the cursor to the first line marked '-->' below. + 2. Move the cursor to the first '0'. + 3. Press '4s-c' to select all '0's. + 4. Press '"#' followed by 'c-a' to progressively increment the + the person id ('c-x' to decrement). + + --> Person 1 with id xxxx-xxxx-0 + --> Person 2 with id xxxx-xxxx-0 + --> Person 3 with id xxxx-xxxx-0 + --> Person 4 with id xxxx-xxxx-0 + --> Person 5 with id xxxx-xxxx-0 + + + + + ================================================================= = CHAPTER 7 RECAP = ================================================================= From dec2b3d16b9b0df37da4b0d48e956c317562422f Mon Sep 17 00:00:00 2001 From: brunbjerg Date: Sun, 26 May 2024 11:14:47 +0200 Subject: [PATCH 2/5] fix: the number of lines in the the tutor block --- runtime/tutor | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/tutor b/runtime/tutor index b8edfe935756..9d6c316a764b 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -856,7 +856,6 @@ lines. - ================================================================= = CHAPTER 7 RECAP = ================================================================= From a905ef6e2b387cdd7344f2e55059637479e81bd0 Mon Sep 17 00:00:00 2001 From: brunbjerg Date: Mon, 22 Jul 2024 18:54:24 +0200 Subject: [PATCH 3/5] refactor: c -> Ctrl --- runtime/tutor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/tutor b/runtime/tutor index 9d6c316a764b..c2604187d4a3 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -838,7 +838,7 @@ lines. = 7.5 PROGRESSIVE INCREMENTING AND DECREMENTING = ================================================================= - Type '"#c-a' ('"#c-x') on multiple selections to progressively + Type '"#Ctrl-a' ('"#Ctrl-x') on multiple selections to progressively increment (decrement) numbers. 1. Move the cursor to the first line marked '-->' below. From 63cad152da26d3bf3300416253b85fe004daf701 Mon Sep 17 00:00:00 2001 From: brunbjerg Date: Mon, 22 Jul 2024 19:03:04 +0200 Subject: [PATCH 4/5] refactor: s -> Shift --- runtime/tutor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/tutor b/runtime/tutor index c2604187d4a3..d84da7ed78c8 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -843,9 +843,9 @@ lines. 1. Move the cursor to the first line marked '-->' below. 2. Move the cursor to the first '0'. - 3. Press '4s-c' to select all '0's. - 4. Press '"#' followed by 'c-a' to progressively increment the - the person id ('c-x' to decrement). + 3. Press '4Shift-c' to select all '0's. + 4. Press '"#' followed by 'Ctrl-a' to progressively increment the + the person id ('Ctrl-x' to decrement). --> Person 1 with id xxxx-xxxx-0 --> Person 2 with id xxxx-xxxx-0 From f45f1b272a88614f5146c572e2b0f2ff7f5ff89b Mon Sep 17 00:00:00 2001 From: brunbjerg Date: Wed, 14 Aug 2024 22:13:35 +0200 Subject: [PATCH 5/5] moved 'PROGRESSIVE INCREMENTING AND DECREMENTING' to 8.2 in REGISTERS --- runtime/tutor | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/runtime/tutor b/runtime/tutor index 95b232ddffa5..bab86dc406ea 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -834,28 +834,6 @@ lines. -================================================================= -= 7.5 PROGRESSIVE INCREMENTING AND DECREMENTING = -================================================================= - - Type '"#Ctrl-a' ('"#Ctrl-x') on multiple selections to progressively - increment (decrement) numbers. - - 1. Move the cursor to the first line marked '-->' below. - 2. Move the cursor to the first '0'. - 3. Press '4Shift-c' to select all '0's. - 4. Press '"#' followed by 'Ctrl-a' to progressively increment the - the person id ('Ctrl-x' to decrement). - - --> Person 1 with id xxxx-xxxx-0 - --> Person 2 with id xxxx-xxxx-0 - --> Person 3 with id xxxx-xxxx-0 - --> Person 4 with id xxxx-xxxx-0 - --> Person 5 with id xxxx-xxxx-0 - - - - ================================================================= = CHAPTER 7 RECAP = ================================================================= @@ -901,7 +879,29 @@ lines. ================================================================= -= 8.2 MACROS = += 8.2 PROGRESSIVE INCREMENTING AND DECREMENTING = +================================================================= + + The '"#' register can be used to progressively increment or + decrement numbers. Type '"#Ctrl-a' on multiple selections to + increment and type '"#Ctrl-x' to decrement. + + 1. Move the cursor to the first line marked '-->' below. + 2. Move the cursor to the first '0'. + 3. Press '4Shift-c' to select all '0's. + 4. Press '"#' followed by 'Ctrl-a' to progressively increment the + the person id ('Ctrl-x' to decrement). + + --> Person 1 with id xxxx-xxxx-0 + --> Person 2 with id xxxx-xxxx-0 + --> Person 3 with id xxxx-xxxx-0 + --> Person 4 with id xxxx-xxxx-0 + --> Person 5 with id xxxx-xxxx-0 + + + +================================================================= += 8.3 MACROS = ================================================================= Macros are a way to record a set of actions you want to repeat.