public class DocumentMarkupModel
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static MarkupModel |
forDocument(Document document,
Project project,
boolean create)
Returns the markup model for the specified project.
|
public static MarkupModel forDocument(Document document, Project project, boolean create)
document - the document for which the markup model is requested.project - the project for which the markup model is requested, or null if the default markup
model is requested.Editor.getMarkupModel()