mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Fix language switcher persistence to work when no custom file extension
mappings are set yet - don't leave default value of pref undefined. Clarify two other cases of definePreference() calls where we really *do* want the default value to be undefined by passing it explicitly. Also: add TODOs for unused Session arg in JS code hints.
This commit is contained in:
1 parent
23a3e91eb5
commit
ba1427c00c
4 files changed
+9
-9
No files matched your search
@@ -1036,7 +1036,7 @@ define(function (require, exports, module) {
|
||||
/**
|
||||
* Do the work to initialize a code hinting session.
|
||||
*
|
||||
* @param {Session} session - the active hinting session
|
||||
* @param {Session} session - the active hinting session (TODO: currently unused)
|
||||
* @param {!Document} document - the document the editor has changed to
|
||||
* @param {?Document} previousDocument - the document the editor has changed from
|
||||
*/
|
||||
@@ -1136,7 +1136,7 @@ define(function (require, exports, module) {
|
||||
/**
|
||||
* Called each time a new editor becomes active.
|
||||
*
|
||||
* @param {Session} session - the active hinting session
|
||||
* @param {Session} session - the active hinting session (TODO: currently unused by doEditorChange())
|
||||
* @param {!Document} document - the document of the editor that has changed
|
||||
* @param {?Document} previousDocument - the document of the editor is changing from
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user