Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix spelling of 'iff' and 'idenifier' #32401

Merged
merged 2 commits into from Aug 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/vs/editor/common/editorCommon.ts
Expand Up @@ -684,7 +684,7 @@ export interface ITextModel {
getFullModelRange(): Range;

/**
* Returns iff the model was disposed or not.
* Returns if the model was disposed or not.
*/
isDisposed(): boolean;

Expand Down Expand Up @@ -1175,7 +1175,7 @@ export interface IModel extends IReadOnlyModel, IEditableTextModel, ITextModelWi
onBeforeDetached(): void;

/**
* Returns iff this model is attached to an editor or not.
* Returns if this model is attached to an editor or not.
* @internal
*/
isAttachedToEditor(): boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/vs/monaco.d.ts
Expand Up @@ -1559,7 +1559,7 @@ declare module monaco.editor {
*/
getFullModelRange(): Range;
/**
* Returns iff the model was disposed or not.
* Returns if the model was disposed or not.
*/
isDisposed(): boolean;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/vs/platform/files/common/files.ts
Expand Up @@ -368,7 +368,7 @@ export interface IBaseStat {
export interface IFileStat extends IBaseStat {

/**
* The resource is a directory. Iff {{true}}
* The resource is a directory. if {{true}}
* {{encoding}} has no meaning.
*/
isDirectory: boolean;
Expand Down
4 changes: 2 additions & 2 deletions src/vs/platform/registry/common/platform.ts
Expand Up @@ -20,13 +20,13 @@ export interface IRegistry {

/**
* Returns true iff there is an extension with the provided id.
* @param id an extension idenifier
* @param id an extension identifier
*/
knows(id: string): boolean;

/**
* Returns the extension functions and properties defined by the specified key or null.
* @param id an extension idenifier
* @param id an extension identifier
*/
as(id: string): any;
as<T>(id: string): T;
Expand Down
8 changes: 4 additions & 4 deletions src/vs/platform/workspace/common/workspace.ts
Expand Up @@ -17,17 +17,17 @@ export interface IWorkspaceContextService {
_serviceBrand: any;

/**
* Returns iff the application was opened with a workspace or not.
* Returns if the application was opened with a workspace or not.
*/
hasWorkspace(): boolean;

/**
* Returns iff the application was opened with a folder.
* Returns if the application was opened with a folder.
*/
hasFolderWorkspace(): boolean;

/**
* Returns iff the application was opened with a workspace that can have one or more folders.
* Returns if the application was opened with a workspace that can have one or more folders.
*/
hasMultiFolderWorkspace(): boolean;

Expand Down Expand Up @@ -65,7 +65,7 @@ export interface IWorkspaceContextService {
getRoot(resource: URI): URI;

/**
* Returns iff the provided resource is inside the workspace or not.
* Returns if the provided resource is inside the workspace or not.
*/
isInsideWorkspace(resource: URI): boolean;

Expand Down
Expand Up @@ -149,7 +149,7 @@ export class ExtHostDocumentSaveParticipant extends ExtHostDocumentSaveParticipa
}
}

// apply edits iff any and iff document
// apply edits if any and if document
// didn't change somehow in the meantime
if (edits.length === 0) {
return undefined;
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/common/actionRegistry.ts
Expand Up @@ -49,12 +49,12 @@ export interface IWorkbenchActionRegistry {
getWorkbenchActions(): SyncActionDescriptor[];

/**
* Returns the alias associated with the given action or null iff none.
* Returns the alias associated with the given action or null if none.
*/
getAlias(actionId: string): string;

/**
* Returns the category for the given action or null iff none.
* Returns the category for the given action or null if none.
*/
getCategory(actionId: string): string;
}
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/services/editor/common/editorService.ts
Expand Up @@ -36,9 +36,9 @@ export interface IWorkbenchEditorService extends IEditorService {
getVisibleEditors(): IEditor[];

/**
* Returns iff the provided input is currently visible.
* Returns if the provided input is currently visible.
*
* @param includeDiff iff set to true, will also consider diff editors to find out if the provided
* @param includeDiff if set to true, will also consider diff editors to find out if the provided
* input is opened either on the left or right hand side of the diff editor.
*/
isVisible(input: IEditorInput, includeDiff: boolean): boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/services/part/common/partService.ts
Expand Up @@ -67,7 +67,7 @@ export interface IPartService {
getContainer(part: Parts): HTMLElement;

/**
* Returns iff the part is visible.
* Returns if the part is visible.
*/
isVisible(part: Parts): boolean;

Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/services/textfile/common/textfiles.ts
Expand Up @@ -266,15 +266,15 @@ export interface ITextFileService extends IDisposable {
* Saves the resource.
*
* @param resource the resource to save
* @return true iff the resource was saved.
* @return true if the resource was saved.
*/
save(resource: URI, options?: ISaveOptions): TPromise<boolean>;

/**
* Saves the provided resource asking the user for a file name.
*
* @param resource the resource to save as.
* @return true iff the file was saved.
* @return true if the file was saved.
*/
saveAs(resource: URI, targetResource?: URI): TPromise<URI>;

Expand Down
Expand Up @@ -62,7 +62,7 @@ export interface IUntitledEditorService {
getDirty(resources?: URI[]): URI[];

/**
* Returns true iff the provided resource is dirty.
* Returns true if the provided resource is dirty.
*/
isDirty(resource: URI): boolean;

Expand Down