Skip to content

Commit

Permalink
update history action ids #5508
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Sep 13, 2016
1 parent 67a4612 commit 8cf40da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/vs/editor/contrib/find/common/findModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export const FIND_IDS = {
ReplaceOneAction: 'editor.action.replaceOne',
ReplaceAllAction: 'editor.action.replaceAll',
SelectAllMatchesAction: 'editor.action.selectAllMatches',
ShowPreviousFindTermAction: 'editor.action.showPreviousFindTerm',
ShowNextFindTermAction: 'editor.action.showNextFindTerm'
ShowPreviousFindTermAction: 'find.history.showPrevious',
ShowNextFindTermAction: 'find.history.showNext'
};

export const MATCHES_LIMIT = 999;
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/parts/search/browser/searchActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function appendKeyBindingLabel(label: string, keyBinding: any, keyBinding

export class ShowNextSearchTermAction extends Action {

public static ID = 'search.history.nextSearchTerm';
public static ID = 'search.history.showNext';
public static LABEL = nls.localize('nextSearchTerm', "Show next search term");

constructor(id: string, label: string, @IViewletService private viewletService: IViewletService) {
Expand All @@ -57,7 +57,7 @@ export class ShowNextSearchTermAction extends Action {

export class ShowPreviousSearchTermAction extends Action {

public static ID = 'search.history.previousSearchTerm';
public static ID = 'search.history.showPrevious';
public static LABEL = nls.localize('previousSearchTerm', "Show previous search term");

constructor(id: string, label: string, @IViewletService private viewletService: IViewletService) {
Expand Down

0 comments on commit 8cf40da

Please sign in to comment.