Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Changed to more fitting replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
alb committed Jul 19, 2020
1 parent d43bb34 commit 16f105e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/LiveDevelopment/Inspector/Inspector.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 block-listed 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": [
Expand Down
6 changes: 3 additions & 3 deletions src/LiveDevelopment/Inspector/inspector.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ <h3><a href="#Debugger">Debugger</a></h3>
<li><a href='#Debugger.setVariableValue'>Debugger.setVariableValue</a>: 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.</li>
<li><a href='#Debugger.getStepInPositions'>Debugger.getStepInPositions</a>: Lists all positions where step-in is possible for a current statement in a specified call frame</li>
<li><a href='#Debugger.getBacktrace'>Debugger.getBacktrace</a>: Returns call stack including variables changed since VM was paused. VM must be paused.</li>
<li><a href='#Debugger.skipStackFrames'>Debugger.skipStackFrames</a>: Makes backend skip steps in the sources with names matching given pattern. VM will try leave block-listed scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.</li>
<li><a href='#Debugger.skipStackFrames'>Debugger.skipStackFrames</a>: 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.</li>
</ul>
<span class='label label-info'>Event</span>
<ul>
Expand Down Expand Up @@ -3883,7 +3883,7 @@ <h1>Debugger</h1>
<li><a href='#Debugger.setVariableValue'>Debugger.setVariableValue</a>: 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.</li>
<li><a href='#Debugger.getStepInPositions'>Debugger.getStepInPositions</a>: Lists all positions where step-in is possible for a current statement in a specified call frame</li>
<li><a href='#Debugger.getBacktrace'>Debugger.getBacktrace</a>: Returns call stack including variables changed since VM was paused. VM must be paused.</li>
<li><a href='#Debugger.skipStackFrames'>Debugger.skipStackFrames</a>: Makes backend skip steps in the sources with names matching given pattern. VM will try leave block-listed scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.</li>
<li><a href='#Debugger.skipStackFrames'>Debugger.skipStackFrames</a>: 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.</li>
</ul>
<span class='label label-info'>Event</span>
<ul>
Expand Down Expand Up @@ -4453,7 +4453,7 @@ <h4>Code Example:</h4>
</div>
<div id='Debugger_skipStackFrames' class='command'>
<h3>Debugger.skipStackFrames <span class='label label-success'>Command</span></h3>
<p>Makes backend skip steps in the sources with names matching given pattern. VM will try leave block-listed scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.</p>
<p>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.</p>
<dl>
<dt>script (optional)</dt>
<dd>String <span class='text'>Regular expression defining the scripts to ignore while stepping.</span></dd>
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/default/PrefsCodeHints/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ define(function (require, exports, module) {
this.ctxInfo = JSONUtils.getContextInfo(this.editor, this.editor.getCursorPos(), true);

if (this.ctxInfo && this.ctxInfo.tokenType) {
// Disallow hints for block-listed keys.
// Disallow hints for blocklisted keys.
if (this.ctxInfo.tokenType === JSONUtils.TOKEN_KEY &&
parentKeyBlocklist.indexOf(this.ctxInfo.parentKeyName) !== -1) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/default/PrefsCodeHints/unittests.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ define(function (require, exports, module) {
verifyHints(hintList, "spaceUnits");
});

it("should NOT hint for block-listed parent keys", function () {
it("should NOT hint for blocklisted parent keys", function () {
// Between " and txt"
testEditor.setCursorPos({line: 4, ch: 9});
expectNoHints(PrefsCodeHints.hintProvider);
Expand Down

0 comments on commit 16f105e

Please sign in to comment.