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

Commit 5413247

Browse files
committed
Update File shell callback comments. Minor comment tweaks.
1 parent 9015a4a commit 5413247

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

src/command/Commands.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,19 @@ define(function (require, exports, module) {
5252
exports.FILE_EXTENSION_MANAGER = "file.extensionManager"; // ExtensionManagerDialog.js _showDialog()
5353
exports.FILE_REFRESH = "file.refresh"; // ProjectManager.js refreshFileTree()
5454

55-
// strings must MATCH strings in native code (brackets_extensions)
55+
// File shell callbacks - string must MATCH string in native code (appshell/command_callbacks.h)
5656
exports.FILE_CLOSE_WINDOW = "file.close_window"; // DocumentCommandHandlers.js handleFileCloseWindow()
5757
exports.FILE_QUIT = "file.quit"; // DocumentCommandHandlers.js handleFileQuit()
58-
58+
5959
// EDIT
60+
// File shell callbacks - string must MATCH string in native code (appshell/command_callbacks.h)
6061
exports.EDIT_UNDO = "edit.undo"; // EditorCommandHandlers.js handleUndo()
6162
exports.EDIT_REDO = "edit.redo"; // EditorCommandHandlers.js handleRedo()
6263
exports.EDIT_CUT = "edit.cut"; // EditorCommandHandlers.js ignoreCommand()
6364
exports.EDIT_COPY = "edit.copy"; // EditorCommandHandlers.js ignoreCommand()
6465
exports.EDIT_PASTE = "edit.paste"; // EditorCommandHandlers.js ignoreCommand()
6566
exports.EDIT_SELECT_ALL = "edit.selectAll"; // EditorCommandHandlers.js _handleSelectAll()
67+
6668
exports.EDIT_SELECT_LINE = "edit.selectLine"; // EditorCommandHandlers.js selectLine()
6769
exports.EDIT_FIND = "edit.find"; // FindReplace.js _launchFind()
6870
exports.EDIT_FIND_IN_FILES = "edit.findInFiles"; // FindInFiles.js _doFindInFiles()
@@ -99,7 +101,7 @@ define(function (require, exports, module) {
99101
exports.SORT_WORKINGSET_BY_TYPE = "view.sortWorkingSetByType"; // WorkingSetSort.js _handleSortWorkingSetByType()
100102
exports.SORT_WORKINGSET_AUTO = "view.sortWorkingSetAuto"; // WorkingSetSort.js _handleAutomaticSort()
101103

102-
// Navigate
104+
// NAVIGATE
103105
exports.NAVIGATE_NEXT_DOC = "navigate.nextDoc"; // DocumentCommandHandlers.js handleGoNextDoc()
104106
exports.NAVIGATE_PREV_DOC = "navigate.prevDoc"; // DocumentCommandHandlers.js handleGoPrevDoc()
105107
exports.NAVIGATE_SHOW_IN_FILE_TREE = "navigate.showInFileTree"; // DocumentCommandHandlers.js handleShowInTree()
@@ -114,16 +116,19 @@ define(function (require, exports, module) {
114116
exports.QUICK_EDIT_NEXT_MATCH = "navigate.nextMatch"; // MultiRangeInlineEditor.js _nextRange()
115117
exports.QUICK_EDIT_PREV_MATCH = "navigate.previousMatch"; // MultiRangeInlineEditor.js _previousRange()
116118

117-
// Help
119+
// HELP
118120
exports.HELP_CHECK_FOR_UPDATE = "help.checkForUpdate"; // HelpCommandHandlers.js _handleCheckForUpdates()
119121
exports.HELP_HOW_TO_USE_BRACKETS = "help.howToUseBrackets"; // HelpCommandHandlers.js _handleLinkMenuItem()
120122
exports.HELP_FORUM = "help.forum"; // HelpCommandHandlers.js _handleLinkMenuItem()
121123
exports.HELP_RELEASE_NOTES = "help.releaseNotes"; // HelpCommandHandlers.js _handleLinkMenuItem()
122124
exports.HELP_REPORT_AN_ISSUE = "help.reportAnIssue"; // HelpCommandHandlers.js _handleLinkMenuItem()
123125
exports.HELP_SHOW_EXT_FOLDER = "help.showExtensionsFolder"; // HelpCommandHandlers.js _handleShowExtensionsFolder()
124126
exports.HELP_TWITTER = "help.twitter"; // HelpCommandHandlers.js _handleLinkMenuItem()
127+
128+
// File shell callbacks - string must MATCH string in native code (appshell/command_callbacks.h)
125129
exports.HELP_ABOUT = "help.about"; // HelpCommandHandlers.js _handleAboutDialog()
126130

131+
// APP
127132
// File shell callbacks - string must MATCH string in native code (appshell/command_callbacks.h)
128133
exports.APP_ABORT_QUIT = "app.abort_quit"; // DocumentCommandHandlers.js _handleAbortQuit()
129134
exports.APP_BEFORE_MENUPOPUP = "app.before_menupopup"; // DocumentCommandHandlers.js _handleBeforeMenuPopup()

0 commit comments

Comments
 (0)