Skip to content

Commit d4c5607

Browse files
authored
Tests for keyboard shortcuts in native editor (microsoft#7797)
* Tests for keyboard shortcuts * Added some more tests * Code review comments * Fix merge issues
1 parent 00ad77b commit d4c5607

File tree

5 files changed

+751
-261
lines changed

5 files changed

+751
-261
lines changed

src/datascience-ui/interactive-common/cellOutput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class CellOutput extends React.Component<ICellOutputProps> {
174174
const Transform = transforms['text/markdown'];
175175
const MarkdownClassName = 'markdown-cell-output';
176176

177-
return [<div className={MarkdownClassName}><Transform key={0} data={source} /></div>];
177+
return [<div key={0} className={MarkdownClassName}><Transform key={0} data={source} /></div>];
178178
}
179179

180180
// tslint:disable-next-line: max-func-body-length

src/datascience-ui/react-common/monacoEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface IMonacoEditorProps {
3333
lineCountChanged(newCount: number): void;
3434
}
3535

36-
interface IMonacoEditorState {
36+
export interface IMonacoEditorState {
3737
editor?: monacoEditor.editor.IStandaloneCodeEditor;
3838
model: monacoEditor.editor.ITextModel | null;
3939
visibleLineCount: number;

0 commit comments

Comments
 (0)