Type | Description | Examples |
---|
literal | Text 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 number | A single line number. Only that line will be selected. | 11 |
regex | A 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%% |
ranges | 2 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 ranges | 1 line number or regex selection followed by a - (minus sign). Includes the start line and all lines after. | 12- |