skip test & 💄 (#155826)

This commit is contained in:
Benjamin Pasero 2022-07-21 12:47:23 +02:00 committed by GitHub
parent ace330ba2c
commit 6cad4b9494
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 6 deletions

View file

@ -284,7 +284,7 @@ const apiTestContentProvider: vscode.NotebookContentProvider = {
assert.ok(cell.metadata.extraCellMetadata, `Test cell metdata not found`);
});
test('edit API batch edits undo/redo', async function () {
test.skip('edit API batch edits undo/redo', async function () { // TODO@rebornix https://github.com/microsoft/vscode/issues/155825
const notebook = await openRandomNotebookDocument();
const editor = await vscode.window.showNotebookDocument(notebook);

View file

@ -299,8 +299,8 @@ export class CodeWindow extends Disposable implements ICodeWindow {
// thus we need to capture them here with a window hook specific to Windows
// and then forward them to the correct window.
if (isWindows && useCustomTitleStyle) {
// https://docs.microsoft.com/en-us/windows/win32/menurc/wm-initmenu
const WM_INITMENU = 0x0116;
const WM_INITMENU = 0x0116; // https://docs.microsoft.com/en-us/windows/win32/menurc/wm-initmenu
// This sets up a listener for the window hook. This is a Windows-only API provided by electron.
this._win.hookWindowMessage(WM_INITMENU, () => {
const [x, y] = this._win.getPosition();
@ -311,6 +311,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
this._win.setEnabled(true);
this._onDidTriggerSystemContextMenu.fire({ x: cursorPos.x - x, y: cursorPos.y - y });
return 0; // skip native menu
});
}

View file

@ -32,8 +32,8 @@
}
.monaco-workbench .part.statusbar > .right-items {
flex-direction: row-reverse;
flex-wrap: wrap /* ensures that the most right elements wrap last when space is little */;
flex-wrap: wrap ; /* overflow elements by wrapping */
flex-direction: row-reverse; /* let the elements to the left wrap first */
}
.monaco-workbench .part.statusbar > .left-items {

View file

@ -531,6 +531,7 @@ export class StatusbarPart extends Part implements IStatusbarService {
}
this.styleElement.textContent = `
/* Status bar focus outline */
.monaco-workbench .part.statusbar:focus {
outline-color: ${statusBarFocusColor};
@ -541,10 +542,11 @@ export class StatusbarPart extends Part implements IStatusbarService {
outline: 1px solid ${this.getColor(activeContrastBorder) ?? itemBorderColor};
outline-offset: ${borderColor ? '-2px' : '-1px'};
}
/* Notification Beak */
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.has-beak:before {
border-bottom-color: ${backgroundColor};
}
}
`;
}