ReferencesDisplay typedef

ReferencesDisplay = void Function(ReferencesResult result, EditorState state, int originPos)

Callback for displaying references.

This is called when references are found and should be shown to the user. The application should display a list/panel of references that the user can click to navigate to.

Implementation

typedef ReferencesDisplay = void Function(
  ReferencesResult result,
  EditorState state,
  int originPos,
);