@@ -1099,10 +1099,58 @@ letters! that is not good grammar. you can fix this.
1099
1099
1100
1100
1101
1101
=================================================================
1102
- = =
1102
+ = 11.1 COMMENTING A LINE =
1103
1103
=================================================================
1104
1104
1105
+ Type Ctrl-c to comment the line under your cursor.
1106
+ To uncomment the line, press Ctrl-c again.
1105
1107
1108
+ 1. Move your cursor to the line marked '-->' below.
1109
+ 2. Now comment the line marked with '-->'.
1110
+ 3. Now try uncommenting the line.
1111
+
1112
+ --> Comment me please
1113
+
1114
+
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+ =================================================================
1124
+ = 11.2 COMMENTING MULTIPLE LINES =
1125
+ =================================================================
1126
+
1127
+ Using the selections and multi-cursor functionality, you can
1128
+ comment multiple lines as long as it is under the selection or
1129
+ cursors.
1130
+
1131
+ 1. Move your cursor to the line marked with '-->' below.
1132
+ 2. Now try to select or add more cursors the other lines marked
1133
+ with '-->'.
1134
+ 3. Comment those lines.
1135
+
1136
+ --> How many are you going to comment?
1137
+ --> Is this enough for a comment?
1138
+ --> What are you doing?!
1139
+ --> Stop commenting me!
1140
+ --> AAAAaargh!!!
1141
+
1142
+ Note: If there are already commented lines under selections or
1143
+ multiple cursors, they won't be uncommented but commented again.
1144
+
1145
+ =================================================================
1146
+ = CHAPTER 11 RECAP =
1147
+ =================================================================
1148
+
1149
+ * Use Ctrl-c to comment a line under your cursor. Type Ctrl-c
1150
+ again to uncomment.
1151
+ * To comment multiple lines, use the selections
1152
+ and multi-cursors before typing Ctrl-c.
1153
+ * Commented lines cannot be uncommented but commented again.
1106
1154
1107
1155
1108
1156
0 commit comments