(view)
| 772 | }; |
| 773 | |
| 774 | export const nextSignature: Command = (view) => { |
| 775 | const field = view.state.field(signatureState, false); |
| 776 | if (!field) return false; |
| 777 | if (field.active < field.data.signatures.length - 1) { |
| 778 | view.dispatch({ |
| 779 | effects: signatureEffect.of({ |
| 780 | data: field.data, |
| 781 | active: field.active + 1, |
| 782 | pos: field.tooltip.pos, |
| 783 | }), |
| 784 | }); |
| 785 | } |
| 786 | return true; |
| 787 | }; |
| 788 | |
| 789 | export const prevSignature: Command = (view) => { |
| 790 | const field = view.state.field(signatureState, false); |
nothing calls this directly
no outgoing calls
no test coverage detected