Skip to content

Commit

Permalink
Replace non-breaking with normal spaces (#11259)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-grant-work authored Jun 6, 2022
1 parent 96a3950 commit ac05b61
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module.exports = preloader.preload().then(() => {
}
function start() {
(window['theia'] = window['theia'] || {}).container = container;
(window['theia'] = window['theia'] || {}).container = container;
return container.get(FrontendApplication).start();
}
});
Expand Down
2 changes: 1 addition & 1 deletion doc/api-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ An API without a stability tag is considered to be experimental and does not req
/**
* One does not need any annotations while working on experimental APIs.
*/
export interface ExperimentalInterface {
export interface ExperimentalInterface {
}

/**
Expand Down
2 changes: 1 addition & 1 deletion examples/api-tests/src/find-replace.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('Find and Replace', function () {

/**
* @template T
* @param {() => Promise<T> | T} condition
* @param {() => Promise<T> | T} condition
* @returns {Promise<T>}
*/
function waitForAnimation(condition) {
Expand Down
4 changes: 2 additions & 2 deletions examples/api-tests/src/navigator.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ describe('Navigator', function () {
await fileService.delete(targetUri.parent, { fromUserGesture: false, useTrash: false, recursive: true });
});

/** @type {Array<['copy' | 'move', boolean]>} */
/** @type {Array<['copy' | 'move', boolean]>} */
const operations = [
['copy', false],
['move', false]
];
/** @type {Array<['file' | 'dir', boolean]>} */
/** @type {Array<['file' | 'dir', boolean]>} */
const fileTypes = [
['file', false],
['dir', false],
Expand Down
2 changes: 1 addition & 1 deletion examples/api-tests/src/saveable.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('Saveable', function () {

const toTearDown = new DisposableCollection();

/** @type {string | undefined} */
/** @type {string | undefined} */
const autoSave = preferences.get('files.autoSave', undefined, rootUri.toString());

beforeEach(async () => {
Expand Down
2 changes: 1 addition & 1 deletion examples/api-tests/src/undo-redo-selectAll.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('Undo, Redo and Select All', function () {
*/
async function assertInEditor(widget) {
const originalContent = widget.editor.document.getText();
const editor = /** @type {MonacoEditor} */ (MonacoEditor.get(widget));
const editor = /** @type {MonacoEditor} */ (MonacoEditor.get(widget));
editor.getControl().pushUndoStop();
editor.getControl().executeEdits('test', [{
range: new Range(1, 1, 1, 1),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
import { ContextKey } from '@theia/core/lib/browser/context-key-service';

export const DebugCallStackItemTypeKey = Symbol('DebugCallStackItemTypeKey');
export type DebugCallStackItemTypeKey = ContextKey<'session' | 'thread' | 'stackFrame'>;
export type DebugCallStackItemTypeKey = ContextKey<'session' | 'thread' | 'stackFrame'>;
2 changes: 1 addition & 1 deletion packages/filesystem/src/browser/file-selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export namespace FileSelection {
export function is(arg: Object | undefined): arg is FileSelection {
return typeof arg === 'object' && ('fileStat' in arg) && FileStat.is(arg['fileStat']);
}
export class CommandHandler extends SelectionCommandHandler<FileSelection> {
export class CommandHandler extends SelectionCommandHandler<FileSelection> {

constructor(
protected override readonly selectionService: SelectionService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ export class PluginViewRegistry implements FrontendApplicationContribution {
}

/**
* retrieve restored layout state from previous user session but close widgets
* retrieve restored layout state from previous user session but close widgets
* widgets should be opened only when view data providers are registered
*/
onDidInitializeLayout(): void {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/src/theia.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6535,7 +6535,7 @@ export module '@theia/plugin' {
* the port forwarding tunnel is managed by VS Code and the tunnel can be closed by the user.
*
* Extensions should not cache the result of `asExternalUri` as the resolved uri may become invalid due to
* a system or user action — for example, in remote cases, a user may close a port forwarding tunnel
* a system or user action — for example, in remote cases, a user may close a port forwarding tunnel
* that was opened by `asExternalUri`.
*
* *Note* that uris passed through `openExternal` are automatically resolved and you should not call `asExternalUri`
Expand Down
2 changes: 1 addition & 1 deletion packages/vsx-registry/src/browser/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
padding-left: var(--theia-ui-padding);
}

.theia-vsx-extension-description {
.theia-vsx-extension-description {
padding-right: calc(var(--theia-ui-padding)*2);
}

Expand Down

0 comments on commit ac05b61

Please sign in to comment.