org.netbeans.spi.editor.hints
Interface PositionRefresher
public interface PositionRefresher
Refresher invoked upon mouse click or Alt-Enter. Clients should register
its implementations inside layer for appropriate mimetype and provide all
ErrorDescriptions for given line (specified by position).
Contract is that fixes will be already computed in the time of the retrieval.
- Since:
- 1.8.1
getErrorDescriptionsAt
Map<String,List<ErrorDescription>> getErrorDescriptionsAt(Context context,
Document doc)
- Parameters:
position - current caret position inside documentdoc - current document
- Returns:
- map of layer name to
ErrorDescriptions for current line