com.jidesoft.editor
Interface CodeInspector
public interface CodeInspector
An interface to inspect the code. You can add your own inspector to inspect the code. If there are any warnings or
errors or other kinds of information during inspection, you can add them to MarkerModel
so that the
MarkerArea
can display them as markers on the left side of the CodeEditor
.
inspect
void inspect(CodeEditor codeEditor,
DocumentEvent evt,
MarkerModel model)
- Inspects the code editor and add the markers to the MarkerModel.
- Parameters:
codeEditor
- the CodeEditorevt
- the DocumentEvent if the inspection is triggered by a DocumentEvent. Or null if it is triggered
manually.model
- the marker model. You can add marker to this marker model while inspecting.