src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.ts/extractSearchQueryFromModel
export const extractSearchQueryFromModel = (model: ITextModel): SearchConfiguration =>
	extractSearchQueryFromLines(model.getValueInRange(new Range(1, 1, 6, 1)).split(lineDelimiter));