Some monaco docs

Taking control of the cursor

Some functions

(editor:Editor) => editor['cursor'].trigger('jumpy','cursorLeft'),
(editor:Editor) => editor['cursor'].trigger('jumpy','cursorDown'),
(editor:Editor) => editor['cursor'].trigger('jumpy','cursorRight'),
(editor:Editor) => editor['cursor'].trigger('jumpy','cursorUp'),

Completions Sorting

In Suggest.ts : determines the overall sorting of completion items :

Then in completionModel.ts _createCachedState : filters these into filteredItems

_createCachedState also stores the _topScoreIdx and that is used to set the focus as the completion model comes up.

results matching ""

    No results matching ""