diff --git a/src/LiveDevelopment/Inspector/Inspector.json b/src/LiveDevelopment/Inspector/Inspector.json
index 7da72c7f450..75cd5d9300c 100644
--- a/src/LiveDevelopment/Inspector/Inspector.json
+++ b/src/LiveDevelopment/Inspector/Inspector.json
@@ -3244,7 +3244,7 @@
{ "name": "script", "optional": true, "type": "string", "description": "Regular expression defining the scripts to ignore while stepping." }
],
"hidden": true,
- "description": "Makes backend skip steps in the sources with names matching given pattern. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful."
+ "description": "Makes backend skip steps in the sources with names matching given pattern. VM will try leave blocklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful."
}
],
"events": [
diff --git a/src/LiveDevelopment/Inspector/inspector.html b/src/LiveDevelopment/Inspector/inspector.html
index b3892f48e43..ef422391d31 100644
--- a/src/LiveDevelopment/Inspector/inspector.html
+++ b/src/LiveDevelopment/Inspector/inspector.html
@@ -386,7 +386,7 @@
Debugger.setVariableValue: Changes value of variable in a callframe or a closure. Either callframe or function must be specified. Object-based scopes are not supported and must be mutated manually.
Debugger.getStepInPositions: Lists all positions where step-in is possible for a current statement in a specified call frame
Debugger.getBacktrace: Returns call stack including variables changed since VM was paused. VM must be paused.
-Debugger.skipStackFrames: Makes backend skip steps in the sources with names matching given pattern. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
+Debugger.skipStackFrames: Makes backend skip steps in the sources with names matching given pattern. VM will try leave blocklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
Event
@@ -3883,7 +3883,7 @@ Debugger
- Debugger.setVariableValue: Changes value of variable in a callframe or a closure. Either callframe or function must be specified. Object-based scopes are not supported and must be mutated manually.
- Debugger.getStepInPositions: Lists all positions where step-in is possible for a current statement in a specified call frame
- Debugger.getBacktrace: Returns call stack including variables changed since VM was paused. VM must be paused.
-- Debugger.skipStackFrames: Makes backend skip steps in the sources with names matching given pattern. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
+- Debugger.skipStackFrames: Makes backend skip steps in the sources with names matching given pattern. VM will try leave blocklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
Event
@@ -4453,7 +4453,7 @@ Code Example:
Debugger.skipStackFrames Command
-
Makes backend skip steps in the sources with names matching given pattern. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
+
Makes backend skip steps in the sources with names matching given pattern. VM will try leave blocklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
- script (optional)
- String Regular expression defining the scripts to ignore while stepping.
diff --git a/src/editor/Editor.js b/src/editor/Editor.js
index 3a009056ad4..b1d64f7b048 100644
--- a/src/editor/Editor.js
+++ b/src/editor/Editor.js
@@ -29,7 +29,7 @@
* destroy() an Editor that's going away so it can release its Document ref.
*
* For now, there's a distinction between the "master" Editor for a Document - which secretly acts
- * as the Document's internal model of the text state - and the multitude of "slave" secondary Editors
+ * as the Document's internal model of the text state - and the multitude of "subordinate" secondary Editors
* which, via Document, sync their changes to and from that master.
*
* For now, direct access to the underlying CodeMirror object is still possible via `_codeMirror` --
@@ -313,7 +313,7 @@ define(function (require, exports, module) {
*
* @param {!Document} document
* @param {!boolean} makeMasterEditor If true, this Editor will set itself as the (secret) "master"
- * Editor for the Document. If false, this Editor will attach to the Document as a "slave"/
+ * Editor for the Document. If false, this Editor will attach to the Document as a "subordinate"/
* secondary editor.
* @param {!jQueryObject|DomNode} container Container to add the editor to.
* @param {{startLine: number, endLine: number}=} range If specified, range of lines within the document
diff --git a/src/editor/EditorManager.js b/src/editor/EditorManager.js
index e9df922d40b..1c64ced1f90 100644
--- a/src/editor/EditorManager.js
+++ b/src/editor/EditorManager.js
@@ -175,7 +175,7 @@ define(function (require, exports, module) {
* @private
* @param {!Document} doc Document for the Editor's content
* @param {!boolean} makeMasterEditor If true, the Editor will set itself as the private "master"
- * Editor for the Document. If false, the Editor will attach to the Document as a "slave."
+ * Editor for the Document. If false, the Editor will attach to the Document as a "subordinate."
* @param {!jQueryObject} container Container to add the editor to.
* @param {{startLine: number, endLine: number}=} range If specified, range of lines within the document
* to display in this editor. Inclusive.
diff --git a/src/extensions/default/PrefsCodeHints/main.js b/src/extensions/default/PrefsCodeHints/main.js
index c22b6903248..d2e739332fc 100644
--- a/src/extensions/default/PrefsCodeHints/main.js
+++ b/src/extensions/default/PrefsCodeHints/main.js
@@ -58,7 +58,7 @@ define(function (require, exports, module) {
};
// List of parent keys for which no key hints will be provided.
- var parentKeyBlacklist = [
+ var parentKeyBlocklist = [
"language.fileExtensions",
"language.fileNames",
"path"
@@ -197,9 +197,9 @@ define(function (require, exports, module) {
this.ctxInfo = JSONUtils.getContextInfo(this.editor, this.editor.getCursorPos(), true);
if (this.ctxInfo && this.ctxInfo.tokenType) {
- // Disallow hints for blacklisted keys.
+ // Disallow hints for blocklisted keys.
if (this.ctxInfo.tokenType === JSONUtils.TOKEN_KEY &&
- parentKeyBlacklist.indexOf(this.ctxInfo.parentKeyName) !== -1) {
+ parentKeyBlocklist.indexOf(this.ctxInfo.parentKeyName) !== -1) {
return false;
}
return true;
diff --git a/src/extensions/default/PrefsCodeHints/unittests.js b/src/extensions/default/PrefsCodeHints/unittests.js
index 24e7c6b7c0f..800a813dba9 100644
--- a/src/extensions/default/PrefsCodeHints/unittests.js
+++ b/src/extensions/default/PrefsCodeHints/unittests.js
@@ -247,7 +247,7 @@ define(function (require, exports, module) {
verifyHints(hintList, "spaceUnits");
});
- it("should NOT hint for blacklisted parent keys", function () {
+ it("should NOT hint for blocklisted parent keys", function () {
// Between " and txt"
testEditor.setCursorPos({line: 4, ch: 9});
expectNoHints(PrefsCodeHints.hintProvider);
diff --git a/src/language/JSONUtils.js b/src/language/JSONUtils.js
index 17f2aab7f49..b3ec90e2e4b 100644
--- a/src/language/JSONUtils.js
+++ b/src/language/JSONUtils.js
@@ -30,7 +30,7 @@ define(function (require, exports, module) {
var TOKEN_KEY = 1,
TOKEN_VALUE = 2;
- // Whitelist for allowed value types.
+ // Allow-list for allowed value types.
var valueTokenTypes = ["atom", "string", "number", "variable"];
// Reg-ex to match colon, comma, opening bracket of an array and white-space.
diff --git a/test/perf/OpenFile-perf-files/brackets-concat.js b/test/perf/OpenFile-perf-files/brackets-concat.js
index 333aae74b3e..a93352ad59b 100644
--- a/test/perf/OpenFile-perf-files/brackets-concat.js
+++ b/test/perf/OpenFile-perf-files/brackets-concat.js
@@ -10839,7 +10839,7 @@ define('document/TextRange',['require','exports','module'],function (require, ex
* destroy() an Editor that's going away so it can release its Document ref.
*
* For now, there's a distinction between the "master" Editor for a Document - which secretly acts
- * as the Document's internal model of the text state - and the multitude of "slave" secondary Editors
+ * as the Document's internal model of the text state - and the multitude of "subordinate" secondary Editors
* which, via Document, sync their changes to and from that master.
*
* For now, direct access to the underlying CodeMirror object is still possible via _codeMirror --
@@ -11056,7 +11056,7 @@ define('editor/Editor',['require','exports','module','editor/EditorManager','edi
*
* @param {!Document} document
* @param {!boolean} makeMasterEditor If true, this Editor will set itself as the (secret) "master"
- * Editor for the Document. If false, this Editor will attach to the Document as a "slave"/
+ * Editor for the Document. If false, this Editor will attach to the Document as a "subordinate"/
* secondary editor.
* @param {!string} mode Syntax-highlighting language mode; "" means plain-text mode.
* See {@link EditorUtils#getModeFromFileExtension()}.
@@ -16178,7 +16178,7 @@ define('editor/EditorManager',['require','exports','module','file/FileUtils','co
* file extension. The editor is appended to the given container as a visible child.
* @param {!Document} doc Document for the Editor's content
* @param {!boolean} makeMasterEditor If true, the Editor will set itself as the private "master"
- * Editor for the Document. If false, the Editor will attach to the Document as a "slave."
+ * Editor for the Document. If false, the Editor will attach to the Document as a "subordinate."
* @param {!jQueryObject} container Container to add the editor to.
* @param {{startLine: number, endLine: number}=} range If specified, range of lines within the document
* to display in this editor. Inclusive.
@@ -49093,7 +49093,7 @@ define('document/TextRange',['require','exports','module'],function (require, ex
* destroy() an Editor that's going away so it can release its Document ref.
*
* For now, there's a distinction between the "master" Editor for a Document - which secretly acts
- * as the Document's internal model of the text state - and the multitude of "slave" secondary Editors
+ * as the Document's internal model of the text state - and the multitude of "subordinate" secondary Editors
* which, via Document, sync their changes to and from that master.
*
* For now, direct access to the underlying CodeMirror object is still possible via _codeMirror --
@@ -49310,7 +49310,7 @@ define('editor/Editor',['require','exports','module','editor/EditorManager','edi
*
* @param {!Document} document
* @param {!boolean} makeMasterEditor If true, this Editor will set itself as the (secret) "master"
- * Editor for the Document. If false, this Editor will attach to the Document as a "slave"/
+ * Editor for the Document. If false, this Editor will attach to the Document as a "subordinate"/
* secondary editor.
* @param {!string} mode Syntax-highlighting language mode; "" means plain-text mode.
* See {@link EditorUtils#getModeFromFileExtension()}.
@@ -54432,7 +54432,7 @@ define('editor/EditorManager',['require','exports','module','file/FileUtils','co
* file extension. The editor is appended to the given container as a visible child.
* @param {!Document} doc Document for the Editor's content
* @param {!boolean} makeMasterEditor If true, the Editor will set itself as the private "master"
- * Editor for the Document. If false, the Editor will attach to the Document as a "slave."
+ * Editor for the Document. If false, the Editor will attach to the Document as a "subordinate."
* @param {!jQueryObject} container Container to add the editor to.
* @param {{startLine: number, endLine: number}=} range If specified, range of lines within the document
* to display in this editor. Inclusive.