public interface DocumentContent extends DiffContent
Modifier and Type | Method and Description |
---|---|
default java.nio.charset.Charset |
getCharset() |
Document |
getDocument()
Represents this content as Document
|
default VirtualFile |
getHighlightFile()
This file could be used for better syntax highlighting.
|
default LineSeparator |
getLineSeparator() |
default Navigatable |
getNavigatable(LineCol position)
Provides a way to open given text place in editor
|
default OpenFileDescriptor |
getOpenFileDescriptor(int offset)
Deprecated.
|
default java.lang.Boolean |
hasBom() |
getContentType, getNavigatable, getOpenFileDescriptor, onAssigned
getUserData, putUserData
Document getDocument()
default VirtualFile getHighlightFile()
default Navigatable getNavigatable(LineCol position)
default LineSeparator getLineSeparator()
default java.nio.charset.Charset getCharset()
default java.lang.Boolean hasBom()
@Deprecated default OpenFileDescriptor getOpenFileDescriptor(int offset)