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, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCharset, getLineSeparator, getOpenFileDescriptor, hasBom
getOpenFileDescriptor
getUserData, putUserData
public DocumentFragmentContent(Project project, DocumentContent original, TextRange range)
public DocumentFragmentContent(Project project, DocumentContent original, RangeMarker rangeMarker)
public Document getDocument()
DocumentContent
getDocument
in interface DocumentContent
public VirtualFile getHighlightFile()
DocumentContent
getHighlightFile
in interface DocumentContent
public Navigatable getNavigatable(LineCol position)
DocumentContent
getNavigatable
in interface DocumentContent
public FileType getContentType()
getContentType
in interface DiffContent
public Navigatable getNavigatable()
DiffContent
getNavigatable
in interface DiffContent
public void onAssigned(boolean isAssigned)
onAssigned
in interface DiffContent
DiffRequest.onAssigned(boolean)