Lines Matching refs:preview
196 // the current line in case the preview is visible on a single line.
237 debug('Error while generating completion preview', error);
297 // This returns a code preview for arbitrary input code.
312 }, (error, preview) => {
317 const { result } = preview;
323 } else if (preview.exceptionDetails &&
351 }, (error, preview) => {
355 callback(null, preview.result.value);
374 // Do not preview in case the line only contains whitespace.
381 // Add the autocompletion preview.
387 // Do not preview if the command is buffered.
405 debug('Error while generating preview', error);
408 // Do not preview `undefined` if colors are deactivated or explicitly
476 // Refresh prints the whole screen again and the preview will be removed
477 // during that procedure. Print the preview again. This also makes sure
478 // the preview is always correct after resizing the terminal window.
619 // This would be useful for both, the input preview and the reverse