JIDE 3.5.15

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.


Method Summary
 void inspect(CodeEditor codeEditor, DocumentEvent evt, MarkerModel model)
          Inspects the code editor and add the markers to the MarkerModel.
 

Method Detail

inspect

void inspect(CodeEditor codeEditor,
             DocumentEvent evt,
             MarkerModel model)
Inspects the code editor and add the markers to the MarkerModel.

Parameters:
codeEditor - the CodeEditor
evt - 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.

JIDE 3.5.15