public class DocumentFragmentContent extends DiffContentBase implements DocumentContent
| Constructor and Description | 
|---|
DocumentFragmentContent(Project project,
                       DocumentContent original,
                       RangeMarker rangeMarker)  | 
DocumentFragmentContent(Project project,
                       DocumentContent original,
                       TextRange range)  | 
| Modifier and Type | Method and Description | 
|---|---|
FileType | 
getContentType()  | 
Document | 
getDocument()
Represents this content as Document 
 | 
VirtualFile | 
getHighlightFile()
This file could be used for better syntax highlighting. 
 | 
Navigatable | 
getNavigatable()
Provides a way to open related content in editor 
 | 
Navigatable | 
getNavigatable(LineCol position)
Provides a way to open given text place in editor 
 | 
void | 
onAssigned(boolean isAssigned)  | 
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCharset, getLineSeparator, getOpenFileDescriptor, hasBomgetOpenFileDescriptorgetUserData, putUserDatapublic DocumentFragmentContent(Project project, DocumentContent original, TextRange range)
public DocumentFragmentContent(Project project, DocumentContent original, RangeMarker rangeMarker)
public Document getDocument()
DocumentContentgetDocument in interface DocumentContentpublic VirtualFile getHighlightFile()
DocumentContentgetHighlightFile in interface DocumentContentpublic Navigatable getNavigatable(LineCol position)
DocumentContentgetNavigatable in interface DocumentContentpublic FileType getContentType()
getContentType in interface DiffContentpublic Navigatable getNavigatable()
DiffContentgetNavigatable in interface DiffContentpublic void onAssigned(boolean isAssigned)
onAssigned in interface DiffContentDiffRequest.onAssigned(boolean)