Modifier and Type | Method and Description |
---|---|
TextRange |
InputFile.newRange(int startLine,
int startLineOffset,
int endLine,
int endLineOffset)
Returns a
TextRange in the given file. |
TextRange |
InputFile.newRange(TextPointer start,
TextPointer end)
Returns a
TextRange in the given file. |
TextRange |
InputFile.selectLine(int line)
Returns a
TextRange in the given file that select the full line. |
Modifier and Type | Method and Description |
---|---|
boolean |
TextRange.overlap(TextRange another)
Test if the current range has some common area with another range.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTextRange |
Modifier and Type | Method and Description |
---|---|
TextRange |
DefaultInputFile.newRange(int startOffset,
int endOffset)
Create Range from global offsets.
|
TextRange |
DefaultInputFile.newRange(int startLine,
int startLineOffset,
int endLine,
int endLineOffset) |
TextRange |
DefaultInputFile.newRange(TextPointer start,
TextPointer end) |
TextRange |
DefaultInputFile.selectLine(int line) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultTextRange.overlap(TextRange another) |
void |
DefaultInputFile.validate(TextRange range) |
Modifier and Type | Method and Description |
---|---|
TextRange |
SyntaxHighlightingRule.range() |
Modifier and Type | Method and Description |
---|---|
static SyntaxHighlightingRule |
SyntaxHighlightingRule.create(TextRange range,
TypeOfText textType) |
Modifier and Type | Method and Description |
---|---|
TextRange |
IssueLocation.textRange()
Range of the issue.
|
Modifier and Type | Method and Description |
---|---|
NewIssueLocation |
NewIssueLocation.at(TextRange location)
Position in the file.
|
Modifier and Type | Method and Description |
---|---|
TextRange |
DefaultIssueLocation.textRange() |
Modifier and Type | Method and Description |
---|---|
DefaultIssueLocation |
DefaultIssueLocation.at(TextRange location) |
Copyright © 2009–2016 SonarSource. All rights reserved.