(view)
| 787 | }; |
| 788 | |
| 789 | export const prevSignature: Command = (view) => { |
| 790 | const field = view.state.field(signatureState, false); |
| 791 | if (!field) return false; |
| 792 | if (field.active > 0) { |
| 793 | view.dispatch({ |
| 794 | effects: signatureEffect.of({ |
| 795 | data: field.data, |
| 796 | active: field.active - 1, |
| 797 | pos: field.tooltip.pos, |
| 798 | }), |
| 799 | }); |
| 800 | } |
| 801 | return true; |
| 802 | }; |
| 803 | |
| 804 | export const signatureKeymap: readonly KeyBinding[] = [ |
| 805 | { key: "Mod-Shift-Space", run: showSignatureHelp }, |
nothing calls this directly
no outgoing calls
no test coverage detected