Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table plus
TypeDescriptionExamples
literalText that must be found in the code that identifies the first line to be selected. All following lines will also be selected. Text must be not be a number or number range and must match exactly.public class
line numberA single line number. Only that line will be selected.11
regexA single regular expression. Regex expressions must be surrounded by %%. This will be a single line selection unless the regex has more than one capture groupsgroup. If the regex has a capture group, then the start of the first capture group identifies the first line selected. If there is a second capture group, then it identifies the final line selected. How to use regular expressions has basic information on using regular expressions.

%%#region%%

ranges2 line number or regex selections separated by a - (minus sign). The first identifies the start line, the second identifies the end line.

1-10

%%#region%% - %%#endregion%%

open ranges1 line number or regex selection followed by a - (minus sign). Includes the start line and all lines after.12-