Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | /** * Margin between the caret and the dropdown. */ export const DROPDOWN_MARGIN = 10; /** * Dropdown container heihgt. The actual dropdown fits the items height inside this container. */ export const DROPDOWN_HEIGHT = 300; /** * Dropdown fixed width */ export const DROPDOWN_WIDTH = 200; /** * Keys that should trigger the selection of a suggestion. */ export const SELECT_KEYS = ['Enter', 'Tab', 'ArrowRight']; /** * The algorithm that matches the active triggers need to look for trigger characters before the cursor. * We only go back this number of characters to avoid performance issues. * A side effect of this is that the max search length is limited by this number. */ export const MAX_SEARCH_LENGTH = 100; |