Skip to content

Commit

Permalink
Merge branch 'master' of github.com:microsoft/vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jan 31, 2020
2 parents 9749840 + 5eeab37 commit be0aca7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ suite('HTML SelectionRange', () => {
[34, 'none'],
[25, 'display: none'],
[24, ' display: none; '],
[23, '{ display: none; }'],
[19, 'foo { display: none; }'],
[19, 'foo { display: none; } '],
[12, '<style>foo { display: none; } </style>'],
Expand Down
5 changes: 3 additions & 2 deletions src/vs/editor/browser/controller/textAreaHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,9 @@ export class TextAreaHandler extends ViewPart {
this._accessibilitySupport = options.get(EditorOption.accessibilitySupport);
const accessibilityPageSize = options.get(EditorOption.accessibilityPageSize);
if (this._accessibilitySupport === AccessibilitySupport.Enabled && accessibilityPageSize === EditorOptions.accessibilityPageSize.defaultValue) {
// If a screen reader is attached and the default value is not set we shuold automatically increase the page size to 1000 for a better experience
this._accessibilityPageSize = 1000;
// If a screen reader is attached and the default value is not set we shuold automatically increase the page size to 160 for a better experience
// If we put more than 160 lines the nvda can not handle this https://github.com/microsoft/vscode/issues/89717
this._accessibilityPageSize = 160;
} else {
this._accessibilityPageSize = accessibilityPageSize;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class Widget {

if (MIN_LIMIT < 0) {
// And we need to make sure we haven't expanded them before the page
const delta3 = MIN_LIMIT;
const delta3 = -MIN_LIMIT;
MIN_LIMIT += delta3;
MAX_LIMIT += delta3;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ registerAction2(class extends Action2 {
constructor() {
super({
id: 'workbench.extensions.action.configure',
title: { value: localize('workbench.extensions.action.configure', "Configure..."), original: 'Configure...' },
title: { value: localize('workbench.extensions.action.configure', "Extension Settings"), original: 'Extension Settings' },
menu: {
id: MenuId.ExtensionContext,
group: '2_configure',
Expand Down
10 changes: 5 additions & 5 deletions src/vs/workbench/services/bulkEdit/browser/conflicts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ export class ConflictDetector {

list(): URI[] {
const result: URI[] = this._conflicts.keys();
this._changes.forEach((_value, key) => {
if (!this._conflicts.has(key)) {
result.push(key);
}
});
// this._changes.forEach((_value, key) => {
// if (!this._conflicts.has(key)) {
// result.push(key);
// }
// });
return result;
}
}

0 comments on commit be0aca7

Please sign in to comment.