Uses of Class
com.intellij.openapi.util.TextRange

Packages that use TextRange
com.intellij.extapi.psi Provides base classes for the custom language implementations of the PSI structure. 
com.intellij.find Provides interfaces for invoking the Find/Replace, Find in Path, Find Usages and related actions. 
com.intellij.formatting Provides interfaces which allow to implement code formatters for custom languages. 
com.intellij.lang Provides base interfaces which allow to extend IDEA with support for custom languages. 
com.intellij.lang.annotation Provides interfaces for implementing additional syntax highlighting, error and warning highlighting in custom languages. 
com.intellij.lang.folding Provides interfaces for adding code folding support to custom languages. 
com.intellij.lang.surroundWith Provides interfaces for adding Surround With support to custom languages. 
com.intellij.openapi.diff Provides interfaces for invoking the IDEA's diff and merge user interface and for creating custom diff implementations. 
com.intellij.openapi.editor Provides interfaces for working with IDEA's text editor. 
com.intellij.openapi.editor.event Provides interfaces for listening to events in the text editor (mouse motion, scrolling, caret movement and selection changes and so on). 
com.intellij.openapi.util Provides services for working with icons, passwords and miscellaneous other services. 
com.intellij.psi Provides interfaces for working with the Program Source Interface (IDEA's internal representation of the program structure). 
com.intellij.psi.codeStyle Provides interfaces for working with code style settings, invoking the formatter and getting name suggestions dependent on code style settings. 
com.intellij.psi.search Provides interfaces for searching references to elements, searching for classes and symbols by name, searching for TODO items and defining scope of searches. 
com.intellij.psi.util Provides utility classes for working with the PSI. 
com.intellij.psi.xml Provides the PSI structure for XML files. 
com.intellij.usageView Deprecated. 
com.intellij.vcsUtil Provides utility functions for working with the version control system integration. 
 

Uses of TextRange in com.intellij.extapi.psi
 

Methods in com.intellij.extapi.psi that return TextRange
 TextRange ASTWrapperPsiElement.getTextRange()
           
 

Uses of TextRange in com.intellij.find
 

Subclasses of TextRange in com.intellij.find
 class FindResult
          Represents the result of a Find operation.
 

Uses of TextRange in com.intellij.formatting
 

Methods in com.intellij.formatting that return TextRange
 TextRange Block.getTextRange()
          Returns the text range covered by the block.
 TextRange FormattingModel.replaceWhiteSpace(TextRange textRange, java.lang.String whiteSpace)
          Replaces the contents of the specified text range in the document with the specified text string consisting of whitespace characters.
 TextRange FormattingModel.shiftIndentInsideRange(TextRange range, int indent)
          Indents every line except for the first in the specified text range representing a multiline block by the specified amount.
 

Methods in com.intellij.formatting with parameters of type TextRange
static Spacing Spacing.createDependentLFSpacing(int minSpaces, int maxSpaces, TextRange dependance, boolean keepLineBreaks, int keepBlankLines)
          Creates a spacing setting instance which inserts a line break if the specified text range also contains a line break.
 java.lang.CharSequence FormattingDocumentModel.getText(TextRange textRange)
          Returns the text contained in the specified text range of the document.
 TextRange FormattingModel.replaceWhiteSpace(TextRange textRange, java.lang.String whiteSpace)
          Replaces the contents of the specified text range in the document with the specified text string consisting of whitespace characters.
 TextRange FormattingModel.shiftIndentInsideRange(TextRange range, int indent)
          Indents every line except for the first in the specified text range representing a multiline block by the specified amount.
 

Uses of TextRange in com.intellij.lang
 

Methods in com.intellij.lang that return TextRange
 TextRange ASTNode.getTextRange()
          Returns the text range (a combination of starting offset in the document and length) for this node.
 

Uses of TextRange in com.intellij.lang.annotation
 

Methods in com.intellij.lang.annotation that return types with arguments of type TextRange
 java.util.List<Pair<IntentionAction,TextRange>> Annotation.getQuickFixes()
          Returns the list of quick fixes registered for the annotation.
 

Methods in com.intellij.lang.annotation with parameters of type TextRange
 Annotation AnnotationHolder.createErrorAnnotation(TextRange range, java.lang.String message)
          Creates an error annotation with the specified message over the specified text range.
 Annotation AnnotationHolder.createInfoAnnotation(TextRange range, java.lang.String message)
          Creates an information annotation with the specified message over the specified text range.
 Annotation AnnotationHolder.createWarningAnnotation(TextRange range, java.lang.String message)
          Creates a warning annotation with the specified message over the specified text range.
 void Annotation.registerFix(IntentionAction fix, TextRange range)
          Registers a quick fix for the annotation which is only available on a particular range of text within the annotation.
 

Uses of TextRange in com.intellij.lang.folding
 

Methods in com.intellij.lang.folding that return TextRange
 TextRange FoldingDescriptor.getRange()
          Returns the folded text range.
 

Constructors in com.intellij.lang.folding with parameters of type TextRange
FoldingDescriptor(ASTNode node, TextRange range)
          Creates a folding region related to the specified AST node and covering the specified text range.
 

Uses of TextRange in com.intellij.lang.surroundWith
 

Methods in com.intellij.lang.surroundWith that return TextRange
 TextRange Surrounder.surroundElements(Project project, Editor editor, PsiElement[] elements)
          Performs the Surround With action on the specified range of elements.
 

Uses of TextRange in com.intellij.openapi.diff
 

Constructors in com.intellij.openapi.diff with parameters of type TextRange
FragmentContent(DiffContent original, TextRange range, Project project)
           
FragmentContent(DiffContent original, TextRange range, Project project, FileType type)
           
FragmentContent(DiffContent original, TextRange range, Project project, VirtualFile file)
           
 

Uses of TextRange in com.intellij.openapi.editor
 

Methods in com.intellij.openapi.editor that return TextRange
 TextRange DocumentFragment.getTextRange()
           
static TextRange EditorModificationUtil.pasteFromClipboard(Editor editor)
           
static TextRange EditorModificationUtil.pasteFromTransferrable(java.awt.datatransfer.Transferable content, Editor editor)
           
 

Uses of TextRange in com.intellij.openapi.editor.event
 

Methods in com.intellij.openapi.editor.event that return TextRange
 TextRange SelectionEvent.getNewRange()
           
 TextRange SelectionEvent.getOldRange()
           
 

Uses of TextRange in com.intellij.openapi.util
 

Methods in com.intellij.openapi.util that return TextRange
 TextRange TextRange.cutOut(TextRange subRange)
           
static TextRange TextRange.from(int offset, int length)
           
 TextRange TextRange.grown(int lengthDelta)
           
 TextRange TextRange.shiftRight(int offset)
           
 

Methods in com.intellij.openapi.util with parameters of type TextRange
 boolean TextRange.contains(TextRange anotherRange)
           
 TextRange TextRange.cutOut(TextRange subRange)
           
 boolean TextRange.intersects(TextRange textRange)
           
 

Uses of TextRange in com.intellij.psi
 

Methods in com.intellij.psi that return TextRange
 TextRange PsiReference.getRangeInElement()
          Returns the part of the underlying element which serves as a reference, or the complete text range of the element if the entire element is a reference.
 TextRange PsiElement.getTextRange()
          Returns the text range in the document occupied by the PSI element.
 

Uses of TextRange in com.intellij.psi.codeStyle
 

Methods in com.intellij.psi.codeStyle with parameters of type TextRange
abstract  void CodeStyleManager.adjustLineIndent(PsiFile file, TextRange rangeToAdjust)
          Reformats the specified range of a file, modifying only line indents and leaving all other whitespace intact.
 

Uses of TextRange in com.intellij.psi.search
 

Methods in com.intellij.psi.search that return TextRange
 TextRange TodoItem.getTextRange()
           
 

Uses of TextRange in com.intellij.psi.util
 

Methods in com.intellij.psi.util with parameters of type TextRange
static PsiElement PsiUtil.getElementInclusiveRange(PsiElement scope, TextRange range)
           
 

Uses of TextRange in com.intellij.psi.xml
 

Methods in com.intellij.psi.xml that return TextRange
 TextRange XmlTagValue.getTextRange()
           
 

Uses of TextRange in com.intellij.usageView
 

Methods in com.intellij.usageView that return TextRange
 TextRange UsageInfo.getRange()
           
 

Uses of TextRange in com.intellij.vcsUtil
 

Constructors in com.intellij.vcsUtil with parameters of type TextRange
VcsSelection(Document document, TextRange textRange, java.lang.String selectedAreaName)