File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
editor/contrib/quickAccess/browser
workbench/contrib/codeEditor/browser/find Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { overviewRulerRangeHighlight } from 'vs/editor/common/core/editorColorRe
16
16
import { IQuickAccessProvider } from 'vs/platform/quickinput/common/quickAccess' ;
17
17
import { IKeyMods , IQuickPick , IQuickPickItem } from 'vs/platform/quickinput/common/quickInput' ;
18
18
import { themeColorFromId } from 'vs/platform/theme/common/themeService' ;
19
- import { alert } from 'vs/base/browser/ui/aria/aria' ;
19
+ import { status } from 'vs/base/browser/ui/aria/aria' ;
20
20
21
21
interface IEditorLineDecoration {
22
22
readonly rangeHighlightId : string ;
@@ -149,7 +149,7 @@ export abstract class AbstractEditorNavigationQuickAccessProvider implements IQu
149
149
}
150
150
const model = editor . getModel ( ) ;
151
151
if ( model && 'getLineContent' in model ) {
152
- alert ( `${ model . getLineContent ( options . range . startLineNumber ) } ` ) ;
152
+ status ( `${ model . getLineContent ( options . range . startLineNumber ) } ` ) ;
153
153
}
154
154
}
155
155
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import * as strings from 'vs/base/common/strings';
21
21
import { TerminalCommandId } from 'vs/workbench/contrib/terminal/common/terminal' ;
22
22
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding' ;
23
23
import { showHistoryKeybindingHint } from 'vs/platform/history/browser/historyWidgetKeybindingHint' ;
24
- import { alert as alertFn } from 'vs/base/browser/ui/aria/aria' ;
24
+ import { status } from 'vs/base/browser/ui/aria/aria' ;
25
25
import { defaultInputBoxStyles , defaultToggleStyles } from 'vs/platform/theme/browser/defaultStyles' ;
26
26
27
27
const NLS_FIND_INPUT_LABEL = nls . localize ( 'label.find' , "Find" ) ;
@@ -374,7 +374,7 @@ export abstract class SimpleFindWidget extends Widget {
374
374
} else {
375
375
label = NLS_NO_RESULTS ;
376
376
}
377
- alertFn ( this . _announceSearchResults ( label , this . inputValue ) ) ;
377
+ status ( this . _announceSearchResults ( label , this . inputValue ) ) ;
378
378
this . _matchesCount . appendChild ( document . createTextNode ( label ) ) ;
379
379
this . _foundMatch = ! ! count && count . resultCount > 0 ;
380
380
this . updateButtons ( this . _foundMatch ) ;
You can’t perform that action at this time.
0 commit comments